freedreno/ir3: support load_front_face intrinsic
authorRob Clark <robclark@freedesktop.org>
Thu, 5 Nov 2015 18:31:25 +0000 (13:31 -0500)
committerRob Clark <robclark@freedesktop.org>
Sat, 30 Jan 2016 17:11:54 +0000 (12:11 -0500)
commitf212d7dc50a6a81e65f146d0ccef5776ec5e497f
treead6b1691d4c3f48475f94b48b3f4c1984e20f97a
parent9e05e8cb7511d7c575e226176f6e9be1c67268a4
freedreno/ir3: support load_front_face intrinsic

With tgsi_to_nir we get this as a normal input with VARYING_SLOT_FACE.
But glsl_to_nir plus nir_lower_system_values this becomes an intrinsic.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c