chromium/third_party/vulkan-validation-layers/src/layers/drawdispatch/drawdispatch_vuids.cpp

/* Copyright (c) 2015-2024 The Khronos Group Inc.
 * Copyright (c) 2015-2024 Valve Corporation
 * Copyright (c) 2015-2024 LunarG, Inc.
 * Copyright (C) 2015-2024 Google Inc.
 * Modifications Copyright (C) 2020-2024 Advanced Micro Devices, Inc. All rights reserved.
 *
 * 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 "drawdispatch_vuids.h"

namespace vvl {
// clang-format off
struct DispatchVuidsCmdDraw : DrawDispatchVuid {};

struct DispatchVuidsCmdDrawMultiEXT : DrawDispatchVuid {};

struct DispatchVuidsCmdDrawIndexed : DrawDispatchVuid {};

struct DispatchVuidsCmdDrawMultiIndexedEXT : DrawDispatchVuid {};

struct DispatchVuidsCmdDrawIndirect : DrawDispatchVuid {};

struct DispatchVuidsCmdDrawIndexedIndirect : DrawDispatchVuid {};

struct DispatchVuidsCmdDispatch : DrawDispatchVuid {};

struct DispatchVuidsCmdDispatchIndirect : DrawDispatchVuid {};

struct DispatchVuidsCmdDrawIndirectCount : DrawDispatchVuid {};

struct DispatchVuidsCmdDrawIndexedIndirectCount : DrawDispatchVuid {};

struct DispatchVuidsCmdTraceRaysNV: DrawDispatchVuid {};

struct DispatchVuidsCmdTraceRaysKHR: DrawDispatchVuid {};

struct DispatchVuidsCmdTraceRaysIndirectKHR: DrawDispatchVuid {};

struct DispatchVuidsCmdTraceRaysIndirect2KHR: DrawDispatchVuid {};

struct DispatchVuidsCmdDrawMeshTasksNV: DrawDispatchVuid {};

struct DispatchVuidsCmdDrawMeshTasksIndirectNV: DrawDispatchVuid {};

struct DispatchVuidsCmdDrawMeshTasksIndirectCountNV : DrawDispatchVuid {};

struct DispatchVuidsCmdDrawMeshTasksEXT: DrawDispatchVuid {};

struct DispatchVuidsCmdDrawMeshTasksIndirectEXT: DrawDispatchVuid {};

struct DispatchVuidsCmdDrawMeshTasksIndirectCountEXT : DrawDispatchVuid {};

struct DispatchVuidsCmdDrawIndirectByteCountEXT: DrawDispatchVuid {};

struct DispatchVuidsCmdDispatchBase: DrawDispatchVuid {};

Func;
// This LUT is created to allow a static listing of each VUID that is covered by drawdispatch commands
const auto &GetDrawDispatchVuid() {}
// clang-format on

// Getter function to provide kVUIDUndefined in case an invalid function is passed in. Likely if new extension adds command and
// VUIDs are not added yet
const DrawDispatchVuid& GetDrawDispatchVuid(Func function) {}
}  // namespace vvl