Re: [Mesa-dev] [PATCH 2/3] nir: Make gl_FrontFacing a system_value

2015-02-14 Thread Connor Abbott
Patches 2 and 3 are Reviewed-by: Connor Abbott On Sat, Feb 14, 2015 at 3:51 PM, Jason Ekstrand wrote: > GLSL IR labels gl_FrontFacing as an input variable and not a system value. > This commit makes NIR silently translate gl_FrontFacing to a system value > so that it properly gets translated in

[Mesa-dev] [PATCH 2/3] nir: Make gl_FrontFacing a system_value

2015-02-14 Thread Jason Ekstrand
GLSL IR labels gl_FrontFacing as an input variable and not a system value. This commit makes NIR silently translate gl_FrontFacing to a system value so that it properly gets translated into a load_system_value intrinsic. --- src/glsl/nir/glsl_to_nir.cpp | 10 -- 1 file changed, 8 insertion