From: Kenneth Graunke Date: Tue, 4 Oct 2016 06:46:37 +0000 (-0700) Subject: spirv: Silence unsupported capability warnings for Clip/CullDistance. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=536af43fe3fafc728a8a790692be197c38213721;p=mesa.git spirv: Silence unsupported capability warnings for Clip/CullDistance. Signed-off-by: Kenneth Graunke Reviewed-by: Jason Ekstrand --- 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: