diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-04-12 01:36:22 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-04-18 22:56:54 +0200 |
commit | 5f7ebb52064fb610580fd5f6e3ebd54852185e47 (patch) | |
tree | 4241e5473dcd56c220270723307d6a3efeb5335a /src/compiler/spirv | |
parent | c48feaf2d185e247d016ef7d60eefac18f0e5704 (diff) |
spirv: Add support for runtime descriptor array cap.
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 884f5b2c69e..2a835f047e4 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -3390,6 +3390,10 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, spv_check_supported(descriptor_array_dynamic_indexing, cap); break; + case SpvCapabilityRuntimeDescriptorArrayEXT: + spv_check_supported(runtime_descriptor_array, cap); + break; + default: vtn_fail("Unhandled capability"); } |