[Mesa-dev] [PATCH v2 0/3] i965/fs: Use the NIR scalarizer

Jason Ekstrand jason at jlekstrand.net
Fri Jan 23 22:00:10 PST 2015


This is a second version of my scalarizing series.  It uses the scalarizing
pass pushed by Eric Anholt earlier today instead of the one used in the
previous series.  Also, after this series, we no longer use the vec_to_movs
pass.

Jason Ekstrand (3):
  nir: Add a pass to lower vector phi nodes to scalar phi nodes
  i965/fs: Use NIR's scalarizing abilities and stop handling vectors
  i965/fs_nir: Get rid of get_alu_src

 src/glsl/Makefile.sources                |   1 +
 src/glsl/nir/nir.h                       |   2 +
 src/glsl/nir/nir_lower_phis_to_scalar.c  | 238 ++++++++++++
 src/mesa/drivers/dri/i965/brw_fs.h       |  16 -
 src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 628 ++++++++++++-------------------
 5 files changed, 486 insertions(+), 399 deletions(-)
 create mode 100644 src/glsl/nir/nir_lower_phis_to_scalar.c

-- 
2.2.1



More information about the mesa-dev mailing list