| 59 | |
| 60 | template <> |
| 61 | inline void read_resource_decoration<spv::DecorationBinding>(const spirv_cross::Compiler &compiler, |
| 62 | const spirv_cross::Resource &resource, |
| 63 | ShaderResource & shader_resource, |
| 64 | const ShaderVariant & variant) |
| 65 | { |
| 66 | shader_resource.binding = compiler.get_decoration(resource.id, spv::DecorationBinding); |
| 67 | } |
| 68 | |
| 69 | template <> |
| 70 | inline void read_resource_decoration<spv::DecorationInputAttachmentIndex>(const spirv_cross::Compiler &compiler, |
nothing calls this directly
no outgoing calls
no test coverage detected