This series contains a variety of fixes for NIR. One of them (by Matt) is a substantial shader-db fix. Thanks, Matt, for figuring out a much easier way to do that. A bunch of the rest are to get NIR working on older gens. With this series, NIR looks good on Jenkins.
Patches 2 and 9 are to the way that we determine whether or not to use NIR. The first makes it substantially smarter so that we can use INTEL_USE_NIR as either a force-enable or force-disable. The last patch (number 9) enables NIR by default for fragment shaders on SNB+. I'm not sure that we actually want to do this now, but the shader-db numbers are looking pretty good on SNB+ so I figured I'd send the patch. On ILK-, the numbers aren't quite so good. I'm going to look that tonight or tomorrow. Jason Ekstrand (8): i965/nir: Make our environment variable checking smarter i965/fs: Make emit_lrp return an fs_inst i965/nir: Use emit_lrp for emitting flrp i965/nir: Emit MUL + ADD for MAD on GEN <= 5 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: Use NIR by default for Fragment shaders on SNB+ Matt Turner (1): i965/cmod_propagation: Ignore type in cmod prop if scan_inst is cmp src/mesa/drivers/dri/i965/Makefile.sources | 2 + src/mesa/drivers/dri/i965/brw_fs.cpp | 24 ++- src/mesa/drivers/dri/i965/brw_fs.h | 4 +- .../drivers/dri/i965/brw_fs_cmod_propagation.cpp | 9 + src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 34 ++- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 6 +- src/mesa/drivers/dri/i965/brw_nir.h | 45 ++++ .../dri/i965/brw_nir_analize_boolean_resolves.c | 228 +++++++++++++++++++++ 8 files changed, 342 insertions(+), 10 deletions(-) create mode 100644 src/mesa/drivers/dri/i965/brw_nir.h create mode 100644 src/mesa/drivers/dri/i965/brw_nir_analize_boolean_resolves.c -- 2.3.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev