spirv: Add missing break
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 13 Feb 2019 23:01:16 +0000 (15:01 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 14 Feb 2019 16:35:59 +0000 (08:35 -0800)
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

src/compiler/spirv/spirv_to_nir.c

index 1cbc926c818a11559d81d4a7498f897b2f2e6578..5e8eb222555296d2f8b14fddd9a3ab700a6d43de 100644 (file)
@@ -3590,6 +3590,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);