spirv: Silence unsupported capability warnings for Clip/CullDistance.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Kenneth Graunke 2016-10-03 23:46:37 -07:00
parent 7471bb5fa4
commit 536af43fe3

View 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: