[Mesa-dev] [PATCH v2 0/7] A bunch of fixes to make NIR work on older GENs

Jason Ekstrand jason at jlekstrand.net
Fri Mar 20 11:24:35 PDT 2015


This is a little series that fixes a bunch of NIR bugs on older platforms.
With this series, NIR has zero piglit regressions vs. master on any
platform.

Most of these patches were sent out before in one form or another but seem
to have gotten lost.  Some of this is a bump; some are actual v2's.  Most
of these patches should be < 1 minute to revview.  Patch 6 will take a
little work.

Jason Ekstrand (7):
  i965/fs: Make emit_lrp return an fs_inst
  i965/nir: Use emit_lrp for emitting flrp
  i965/nir: Use NIR lowering for ffma for gen < 6
  i965/nir: Properly set the predicate on the SEL used in min/max
  i965: Add a NIR analysis pass for determining when a boolean resolve
    is needed
  i965/nir: Do boolean resolves on GEN <= 5
  i965/nir: Use signed integer type for booleans

 src/mesa/drivers/dri/i965/Makefile.sources         |   2 +
 src/mesa/drivers/dri/i965/brw_context.c            |  12 +-
 src/mesa/drivers/dri/i965/brw_fs.h                 |   4 +-
 src/mesa/drivers/dri/i965/brw_fs_nir.cpp           |  30 ++-
 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp       |   6 +-
 src/mesa/drivers/dri/i965/brw_nir.h                |  45 ++++
 .../dri/i965/brw_nir_analyze_boolean_resolves.c    | 228 +++++++++++++++++++++
 7 files changed, 316 insertions(+), 11 deletions(-)
 create mode 100644 src/mesa/drivers/dri/i965/brw_nir.h
 create mode 100644 src/mesa/drivers/dri/i965/brw_nir_analyze_boolean_resolves.c

-- 
2.3.3



More information about the mesa-dev mailing list