summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-10-03 23:46:37 -0700
committerKenneth Graunke <[email protected]>2016-11-22 00:29:24 -0800
commit536af43fe3fafc728a8a790692be197c38213721 (patch)
treeb38e849a5dc307c0c371b6be682dcaab1ba6d186 /src/compiler/spirv
parent7471bb5fa49914673f2764360427d8dc1e63b9a4 (diff)
spirv: Silence unsupported capability warnings for Clip/CullDistance.
Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
-rw-r--r--src/compiler/spirv/spirv_to_nir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
index 9c5d3319b5c..5ff09c91c5e 100644
--- a/src/compiler/spirv/spirv_to_nir.c
+++ b/src/compiler/spirv/spirv_to_nir.c
@@ -2443,10 +2443,10 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
case SpvCapabilityInterpolationFunction:
case SpvCapabilityMultiViewport:
case SpvCapabilitySampleRateShading:
- break;
-
case SpvCapabilityClipDistance:
case SpvCapabilityCullDistance:
+ break;
+
case SpvCapabilityGeometryStreams:
case SpvCapabilityTessellation:
case SpvCapabilityTessellationPointSize: