diff options
author | Daniel Schürmann <[email protected]> | 2018-04-10 12:02:44 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-04-14 00:52:22 +0200 |
commit | fd5b0e0a64a2af29afa3ac1bc5bda23a1422f64a (patch) | |
tree | 29fcd91c45241a115e4925a76537685fa51b5dc8 /src/compiler/spirv/spirv_to_nir.c | |
parent | 54937d820d97f5459c2249b6c358428f18245985 (diff) |
nir/spirv: Fix warning and add missing breaks.
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/spirv/spirv_to_nir.c')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 78c1e9ff597..28274311c2b 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -3361,10 +3361,12 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, case SpvCapabilityGroupNonUniformQuad: spv_check_supported(subgroup_quad, cap); + break; case SpvCapabilityGroupNonUniformArithmetic: case SpvCapabilityGroupNonUniformClustered: spv_check_supported(subgroup_arithmetic, cap); + break; case SpvCapabilityVariablePointersStorageBuffer: case SpvCapabilityVariablePointers: |