summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-02-11 14:27:15 -0800
committerJason Ekstrand <[email protected]>2016-02-11 15:14:46 -0800
commit4016619931f2ffbb83ca65d83c3a60c6ced886f1 (patch)
treef9cf17ed5b7c7e750da0e8723b199b9b3e57abe1 /src
parentda4a6bbbeada8e4c9165f27961c54a28c7d78915 (diff)
nir/spirv: Allow the clip distance capability.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/nir/spirv/spirv_to_nir.c1
1 files changed, 1 insertions, 0 deletions
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");