[Mesa-dev] [PATCH 0/3] Converting TTN to using frontface intrinsic.

Eric Anholt eric at anholt.net
Fri Aug 5 23:22:16 UTC 2016


Here's a little miniseries from my trying to convert from using TTN to
usually using GTN in vc4.  No change on shader-db, but seems like a
good idea.

Eric Anholt (3):
  nir: Tell opt_algebraic that load_front_face is a boolean.
  nir: Use the system-value front face for twoside lowering.
  ttn: Use nir_load_front_face instead of the TGSI-style input.

 src/compiler/nir/nir_lower_two_sided_color.c       | 23 +++------
 src/compiler/nir/nir_search.c                      | 60 ++++++++++++++++------
 src/gallium/auxiliary/nir/tgsi_to_nir.c            | 30 +++++++++--
 .../drivers/freedreno/ir3/ir3_compiler_nir.c       | 46 -----------------
 src/gallium/drivers/vc4/vc4_nir_lower_io.c         | 15 +-----
 5 files changed, 80 insertions(+), 94 deletions(-)

-- 
2.8.1



More information about the mesa-dev mailing list