MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / DecorationBinding>

Method DecorationBinding>

framework/spirv_reflection.cpp:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60template <>
61inline void read_resource_decoration<spv::DecorationBinding>(const spirv_cross::Compiler &compiler,
62 const spirv_cross::Resource &resource,
63 ShaderResource & shader_resource,
64 const ShaderVariant & variant)
65{
66 shader_resource.binding = compiler.get_decoration(resource.id, spv::DecorationBinding);
67}
68
69template <>
70inline void read_resource_decoration<spv::DecorationInputAttachmentIndex>(const spirv_cross::Compiler &compiler,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected