nir/spirv: Ignore cull distance

This commit is contained in:
Jason Ekstrand 2016-01-21 16:03:06 -08:00
parent 13858a1c1a
commit 13aaf90048

View 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);