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

Method DecorationNonWritable>

framework/spirv_reflection.cpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78template <>
79inline void read_resource_decoration<spv::DecorationNonWritable>(const spirv_cross::Compiler &compiler,
80 const spirv_cross::Resource &resource,
81 ShaderResource & shader_resource,
82 const ShaderVariant & variant)
83{
84 shader_resource.qualifiers |= ShaderResourceQualifiers::NonWritable;
85}
86
87template <>
88inline void read_resource_decoration<spv::DecorationNonReadable>(const spirv_cross::Compiler &compiler,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected