spirv: Add missing break for capability handling
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 18 Sep 2019 15:57:15 +0000 (08:57 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 18 Sep 2019 22:49:14 +0000 (15:49 -0700)
New added cases "stole" the previous break.

Fixes: 420ad0a1a3d ("spirv: check support for SPV_KHR_float_controls capabilities")
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/compiler/spirv/spirv_to_nir.c

index 54052062392e44fe9b42f3ed3535dde4237da2ea..edffcb0a53fe0fca21b5ffd1762276bfbc98f6d2 100644 (file)
@@ -3617,6 +3617,7 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
 
       case SpvCapabilitySampleMaskPostDepthCoverage:
          spv_check_supported(post_depth_coverage, cap);
+         break;
 
       case SpvCapabilityDenormFlushToZero:
       case SpvCapabilityDenormPreserve: