From: Jason Ekstrand Date: Fri, 22 Jan 2016 00:03:06 +0000 (-0800) Subject: nir/spirv: Ignore cull distance X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13aaf9004809b400a22a0cb1d0e85afdff169189;p=mesa.git nir/spirv: Ignore cull distance --- diff --git a/src/glsl/nir/spirv/vtn_variables.c b/src/glsl/nir/spirv/vtn_variables.c index 5c372774126..8fea43b2e96 100644 --- a/src/glsl/nir/spirv/vtn_variables.c +++ b/src/glsl/nir/spirv/vtn_variables.c @@ -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);