[Mesa-dev] [PATCH 10/14] spirv: Silence unsupported capability warnings for Clip/CullDistance.

Kenneth Graunke kenneth at whitecape.org
Tue Nov 15 01:41:34 UTC 2016


Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/compiler/spirv/spirv_to_nir.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
index 9c5d331..5ff09c9 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:
-- 
2.10.2



More information about the mesa-dev mailing list