diff options
author | Iago Toral Quiroga <[email protected]> | 2018-03-02 11:08:52 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2018-05-03 11:40:26 +0200 |
commit | f07c05576f3e4cba77d299d8a0f2946a0ab9f0b9 (patch) | |
tree | bce557cc28516511a81ceb68b7a00a081260bb88 /src/compiler/spirv/spirv_to_nir.c | |
parent | dd41630d9a83a07f31ec490f75e4efe5ec6b3a3a (diff) |
compiler/spirv: add implementation to check for SpvCapabilityInt16 support
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv/spirv_to_nir.c')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 2a835f047e4..78437428aa7 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -3281,7 +3281,6 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, case SpvCapabilityFloat16: case SpvCapabilityInt64Atomics: case SpvCapabilityAtomicStorage: - case SpvCapabilityInt16: case SpvCapabilityStorageImageMultisample: case SpvCapabilityInt8: case SpvCapabilitySparseResidency: @@ -3297,6 +3296,9 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, case SpvCapabilityInt64: spv_check_supported(int64, cap); break; + case SpvCapabilityInt16: + spv_check_supported(int16, cap); + break; case SpvCapabilityAddresses: case SpvCapabilityKernel: |