[Mesa-dev] [PATCH 0/5] i965/vec4_nir: Various fixes for ILK- and BDW+

Jason Ekstrand jason at jlekstrand.net
Mon Aug 3 17:22:09 PDT 2015


This is a quick little series that fixes a bunch of piglit regressions with
vec4 NIR on ILK- and BDW+.  With this series, vec4 NIR has (I think) zero
regressions versus non-NIR on all intel platforms.  I haven't yet tested
NIR with vec4 vertex shaders on BDW, but I think it's probably ok.  We
should definitely verify that at some point.

I'm not 100% sure what I think about the first two patches.  They actually
end up canceling each other out in effect.  However, I do think that the
end result is better.  Opinions welcome.

Jason Ekstrand (5):
  i965/nir: Use nir_op_info.output_type for determining when to resolve
  i965/nir: Don't mark bany or ball instructions for resolve
  i965/vec4-nir: Handle boolean resolvese on ILK-
  i965/vec4_nir: Do boolean source modifier resolves on BDW+
  i965/vec4_nir: Properly handle integer multiplies on BDW+

 .../dri/i965/brw_nir_analyze_boolean_resolves.c    | 57 +++++++++------
 src/mesa/drivers/dri/i965/brw_vec4.h               |  1 +
 src/mesa/drivers/dri/i965/brw_vec4_nir.cpp         | 80 +++++++++++++++-------
 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp     | 13 ++++
 4 files changed, 105 insertions(+), 46 deletions(-)

-- 
2.4.3



More information about the mesa-dev mailing list