chromium/third_party/vulkan-validation-layers/src/layers/sync/sync_vuid_maps.cpp

/* Copyright (c) 2021-2024 The Khronos Group Inc.
 * Copyright (c) 2021-2024 Valve Corporation
 * Copyright (c) 2021-2024 LunarG, Inc.
 * Copyright (C) 2021-2024 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#include "sync/sync_vuid_maps.h"
#include "error_message/error_location.h"
#include "core_checks/core_validation.h"
#include "generated/enum_flag_bits.h"

#include <cassert>

namespace sync_vuid_maps {
Entry;
Field;
FindVUID;
Func;
Key;
Struct;

const std::map<VkPipelineStageFlags2KHR, std::string> &GetFeatureNameMap() {}
// commonvalidity/pipeline_stage_common.txt
// commonvalidity/stage_mask_2_common.txt
// commonvalidity/stage_mask_common.txt
const std::map<VkPipelineStageFlags2KHR, std::vector<Entry>> &GetStageMaskErrorsMap() {}

const auto &GetStageMaskErrorsNone() {}

const auto &GetStageMaskErrorsShadingRate() {}

const auto &GetStageMaskErrorsSubpassShader() {}

const auto &GetStageMaskErrorsInvocationMask() {}

const std::string &GetBadFeatureVUID(const Location &loc, VkPipelineStageFlags2 bit, const DeviceExtensions &device_extensions) {}

// commonvalidity/access_mask_2_common.txt
const std::map<VkAccessFlags2KHR, std::array<Entry, 6>> &GetAccessMask2CommonMap() {}
// commonvalidity/fine_sync_commands_common.txt
const std::vector<Entry> &GetFineSyncCommon() {}
const std::string &GetBadAccessFlagsVUID(const Location &loc, VkAccessFlags2KHR bit) {}

// commonvalidity/access_mask_common.adoc/access_mask_2_common.adoc
static const auto &GetLocation2VUIDMap() {}

const std::string &GetAccessMaskRayQueryVUIDSelector(const Location &loc, const DeviceExtensions &device_extensions) {}

const std::vector<Entry> &GetQueueCapErrors() {}

const std::string &GetStageQueueCapVUID(const Location &loc, VkPipelineStageFlags2KHR bit) {}

const std::map<QueueError, std::vector<Entry>> &GetBarrierQueueErrors() {}

const std::map<QueueError, std::string> &GetQueueErrorSummaryMap() {}

const std::string &GetBarrierQueueVUID(const Location &loc, QueueError error) {}

const std::map<VkImageLayout, std::array<Entry, 2>> &GetImageLayoutErrorsMap() {}

const std::string &GetBadImageLayoutVUID(const Location &loc, VkImageLayout layout) {}

const std::map<BufferError, std::array<Entry, 2>> &GetBufferErrorsMap() {}

const std::string &GetBufferBarrierVUID(const Location &loc, BufferError error) {}

const std::map<ImageError, std::vector<Entry>> &GetImageErrorsMap() {}

const std::string &GetImageBarrierVUID(const Location &loc, ImageError error) {}

const std::map<SubmitError, std::vector<Entry>> &GetSubmitErrorsMap() {}

const std::string &GetQueueSubmitVUID(const Location &loc, SubmitError error) {}

const std::string &GetShaderTileImageVUID(const Location &loc, ShaderTileImageError error) {}

}  // namespace sync_vuid_maps