spirv: Silence unsupported capability warnings for Clip/CullDistance.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Oct 2016 06:46:37 +0000 (23:46 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 22 Nov 2016 08:29:24 +0000 (00:29 -0800)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/spirv_to_nir.c

index 9c5d3319b5cd966291ed73afec7eff3edab5edad..5ff09c91c5e7c50093f3c4f08a15028bf38d52e9 100644 (file)
@@ -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: