summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2019-02-13 15:01:16 -0800
committerDylan Baker <dylan@pnwbakers.com>2019-02-14 09:30:54 -0800
commit59812ac38dfeb6a1e92d0c333aeb4f1ea0f89bd9 (patch)
treed87c53e76e0d10660d44cc0742affe9c238186d4 /src/compiler
parentc19ce6e5e26b44e13376fba1a5ea4fd60ad9dd5b (diff)
downloadmesa-59812ac38dfeb6a1e92d0c333aeb4f1ea0f89bd9.tar.gz
mesa-59812ac38dfeb6a1e92d0c333aeb4f1ea0f89bd9.tar.bz2
mesa-59812ac38dfeb6a1e92d0c333aeb4f1ea0f89bd9.zip
spirv: Add missing break
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Fixes: c6465fec0c5 ("spirv: add SpvCapabilityInt64Atomics") CID: 1442555 (cherry picked from commit 9a918050e0886d8c6d6adc0c687ffd30d8f70b40)
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/spirv/spirv_to_nir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
index 9bfe5805919..670bd1bcb89 100644
--- a/src/compiler/spirv/spirv_to_nir.c
+++ b/src/compiler/spirv/spirv_to_nir.c
@@ -3595,6 +3595,7 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
case SpvCapabilityInt64Atomics:
spv_check_supported(int64_atomics, cap);
+ break;
case SpvCapabilityInt8:
spv_check_supported(int8, cap);