From: Caio Marcelo de Oliveira Filho Date: Wed, 18 Sep 2019 15:57:15 +0000 (-0700) Subject: spirv: Add missing break for capability handling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d38e0a6326310d8c92e8344a5feeda1e869760e8;p=mesa.git spirv: Add missing break for capability handling New added cases "stole" the previous break. Fixes: 420ad0a1a3d ("spirv: check support for SPV_KHR_float_controls capabilities") Reviewed-by: Eric Engestrom --- diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 54052062392..edffcb0a53f 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -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: