// *** THIS FILE IS GENERATED - DO NOT EDIT *** // See command_validation_generator.py for modifications /*************************************************************************** * * Copyright (c) 2021-2024 Valve Corporation * Copyright (c) 2021-2024 LunarG, 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. ****************************************************************************/ // NOLINTBEGIN #include "error_message/logging.h" #include "core_checks/core_validation.h" enum CMD_SCOPE_TYPE { … }; struct CommandValidationInfo { … }; Func; // clang-format off const auto &GetCommandValidationTable() { … } // clang-format on // Ran on all vkCmd* commands // Because it validate the implicit VUs that stateless can't, if this fails, it is likely // the input is very bad and other checks will crash dereferencing null pointers bool CoreChecks::ValidateCmd(const vvl::CommandBuffer& cb_state, const Location& loc) const { … } // NOLINTEND