Re: [Mesa-dev] [PATCH] spirv: Use the system value version of gl_FrontFace

2016-06-20 Thread Kenneth Graunke
On Monday, June 20, 2016 11:42:09 PM PDT Jason Ekstrand wrote: > 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. > > Signed-off-by: Jason Ekstrand > --- > sr

[Mesa-dev] [PATCH] spirv: Use the system value version of gl_FrontFace

2016-06-20 Thread Jason Ekstrand
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. Signed-off-by: Jason Ekstrand --- src/compiler/spirv/vtn_variables.c | 4 ++-- 1 file changed, 2 insertions(+), 2