nir: Use the system-value front face for twoside lowering.
authorEric Anholt <eric@anholt.net>
Fri, 5 Aug 2016 18:21:56 +0000 (11:21 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 19 Aug 2016 20:11:36 +0000 (13:11 -0700)
commit3f607f9e4f4a55d62088ea85192cda04a3e79a4e
treed2b78a1626f97b4ca98ea0f1ff8e64ca0a7878ff
parented92241d7848a5f08360240795869d72b68054a3
nir: Use the system-value front face for twoside lowering.

GLSL-to-NIR generates system value usage, and vc4/freedreno would both
like the system value instead of the varying, so switch this pass over to
it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_lower_two_sided_color.c