From 536af43fe3fafc728a8a790692be197c38213721 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 3 Oct 2016 23:46:37 -0700 Subject: spirv: Silence unsupported capability warnings for Clip/CullDistance. Signed-off-by: Kenneth Graunke Reviewed-by: Jason Ekstrand --- 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 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: -- cgit v1.2.3