ttn: Use nir_load_front_face instead of the TGSI-style input.
authorEric Anholt <eric@anholt.net>
Thu, 4 Aug 2016 20:20:31 +0000 (13:20 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 19 Aug 2016 20:11:36 +0000 (13:11 -0700)
commitc078c41520214baf469dd4413f868e42c2959c5e
treecd80e21860e52cac2bfdc5fc5564d9253fb93eb2
parent3f607f9e4f4a55d62088ea85192cda04a3e79a4e
ttn: Use nir_load_front_face instead of the TGSI-style input.

This reduces the diff between GLSL-to-NIR and TGSI-to-NIR, and gives NIR
more optimization to work on.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/auxiliary/nir/tgsi_to_nir.c
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
src/gallium/drivers/vc4/vc4_nir_lower_io.c