From 4016619931f2ffbb83ca65d83c3a60c6ced886f1 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 11 Feb 2016 14:27:15 -0800 Subject: [PATCH] nir/spirv: Allow the clip distance capability. --- src/compiler/nir/spirv/spirv_to_nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/nir/spirv/spirv_to_nir.c b/src/compiler/nir/spirv/spirv_to_nir.c index e6255e8a68a..b5e7f536e2e 100644 --- a/src/compiler/nir/spirv/spirv_to_nir.c +++ b/src/compiler/nir/spirv/spirv_to_nir.c @@ -2153,6 +2153,7 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode, case SpvCapabilityMatrix: case SpvCapabilityShader: case SpvCapabilityGeometry: + case SpvCapabilityClipDistance: break; default: assert(!"Unsupported capability"); -- 2.30.2