| 41 | |
| 42 | template <> |
| 43 | inline void read_resource_decoration<spv::DecorationLocation>(const spirv_cross::Compiler &compiler, |
| 44 | const spirv_cross::Resource &resource, |
| 45 | ShaderResource & shader_resource, |
| 46 | const ShaderVariant & variant) |
| 47 | { |
| 48 | shader_resource.location = compiler.get_decoration(resource.id, spv::DecorationLocation); |
| 49 | } |
| 50 | |
| 51 | template <> |
| 52 | inline void read_resource_decoration<spv::DecorationDescriptorSet>(const spirv_cross::Compiler &compiler, |
nothing calls this directly
no outgoing calls
no test coverage detected