spirv: Use the system value version of gl_FrontFace

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 21 June 2016 18:45 UTC

SPIR-V treats it as an input but NIR wants the system value. This shouldn't have been too much of a surprise given that we have to do the same conversion in the GLSL IR to NIR pass.

295e03c spirv: Use the system value version of gl_FrontFace
src/compiler/spirv/vtn_variables.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share