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

Method DecorationDescriptorSet>

framework/spirv_reflection.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51template <>
52inline void read_resource_decoration<spv::DecorationDescriptorSet>(const spirv_cross::Compiler &compiler,
53 const spirv_cross::Resource &resource,
54 ShaderResource & shader_resource,
55 const ShaderVariant & variant)
56{
57 shader_resource.set = compiler.get_decoration(resource.id, spv::DecorationDescriptorSet);
58}
59
60template <>
61inline void read_resource_decoration<spv::DecorationBinding>(const spirv_cross::Compiler &compiler,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected