summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2019-09-18 08:57:15 -0700
committerCaio Marcelo de Oliveira Filho <[email protected]>2019-09-18 15:49:14 -0700
commitd38e0a6326310d8c92e8344a5feeda1e869760e8 (patch)
treed60a70467839fd0e117721343d5c9dbe0d8644c3
parent3da8a8a3d602c9ecba41a82de2c349c215b0d04e (diff)
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 <[email protected]>
-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 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: