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

Method DecorationNonReadable>

framework/spirv_reflection.cpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87template <>
88inline void read_resource_decoration<spv::DecorationNonReadable>(const spirv_cross::Compiler &compiler,
89 const spirv_cross::Resource &resource,
90 ShaderResource & shader_resource,
91 const ShaderVariant & variant)
92{
93 shader_resource.qualifiers |= ShaderResourceQualifiers::NonReadable;
94}
95
96inline void read_resource_vec_size(const spirv_cross::Compiler &compiler,
97 const spirv_cross::Resource &resource,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected