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

Method DecorationInputAttachmentIndex>

framework/spirv_reflection.cpp:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69template <>
70inline void read_resource_decoration<spv::DecorationInputAttachmentIndex>(const spirv_cross::Compiler &compiler,
71 const spirv_cross::Resource &resource,
72 ShaderResource & shader_resource,
73 const ShaderVariant & variant)
74{
75 shader_resource.input_attachment_index = compiler.get_decoration(resource.id, spv::DecorationInputAttachmentIndex);
76}
77
78template <>
79inline void read_resource_decoration<spv::DecorationNonWritable>(const spirv_cross::Compiler &compiler,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected