nir/spirv: Ignore cull distance
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 22 Jan 2016 00:03:06 +0000 (16:03 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 22 Jan 2016 00:20:39 +0000 (16:20 -0800)
src/glsl/nir/spirv/vtn_variables.c

index 5c37277412602edacba24945c9742d9d3c8c3cec..8fea43b2e965a701c92a0dd686ec915f742e7a94 100644 (file)
@@ -771,7 +771,7 @@ vtn_get_builtin_location(struct vtn_builder *b,
       break;
    case SpvBuiltInCullDistance:
       /* XXX figure this out */
-      unreachable("unhandled builtin");
+      break;
    case SpvBuiltInVertexIndex:
       *location = SYSTEM_VALUE_VERTEX_ID;
       set_mode_system_value(mode);