chromium/third_party/vulkan-validation-layers/src/layers/state_tracker/shader_stage_state.cpp

/* Copyright (c) 2024 The Khronos Group Inc.
 * Copyright (c) 2024 Valve Corporation
 * Copyright (c) 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.
 *
 */

#include "shader_stage_state.h"

#include "state_tracker/shader_module.h"
#include <vulkan/utility/vk_safe_struct.hpp>

void GetActiveSlots(ActiveSlotMap &active_slots, const std::shared_ptr<const spirv::EntryPoint> &entrypoint) {}

// static
ActiveSlotMap GetActiveSlots(const std::vector<ShaderStageState> &stage_states) {}

ActiveSlotMap GetActiveSlots(const std::shared_ptr<const spirv::EntryPoint> &entrypoint) {}

uint32_t GetMaxActiveSlot(const ActiveSlotMap &active_slots) {}

const char *ShaderStageState::GetPName() const {}

VkShaderStageFlagBits ShaderStageState::GetStage() const {}

vku::safe_VkSpecializationInfo *ShaderStageState::GetSpecializationInfo() const {}

const void *ShaderStageState::GetPNext() const {}

bool ShaderStageState::GetInt32ConstantValue(const spirv::Instruction &insn, uint32_t *value) const {}

ShaderStageState::ShaderStageState(const vku::safe_VkPipelineShaderStageCreateInfo *pipeline_create_info,
                                   const vku::safe_VkShaderCreateInfoEXT *shader_object_create_info,
                                   std::shared_ptr<const vvl::ShaderModule> module_state,
                                   std::shared_ptr<const spirv::Module> spirv_state)
    :{}