Mesa (main): i915g: Switch to using nir-to-tgsi.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 18 05:01:20 UTC 2021


Module: Mesa
Branch: main
Commit: 2b3fc26da8bed1f70f6631a3fc6c6cd43fe2acc2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b3fc26da8bed1f70f6631a3fc6c6cd43fe2acc2

Author: Emma Anholt <emma at anholt.net>
Date:   Tue May 18 16:04:47 2021 -0700

i915g: Switch to using nir-to-tgsi.

This fixes ~10% of the GLES2 failures thanks to having a better compiler,
though in some cases we get some new compile fails due to instr count or
uniform count.  We still have to do NIR-to-TGSI because the NIR gallivm
draw path isn't ready for non-native-integer NIR code, and st/mesa treats
native-integer as a screen property instead of a stage property.

Other than the noted regressions in the xfails, for
dEQP-GLES2.functional.uniform_api.random.74: compile fail changes reasons
triggering an aassertion instead of drawing magenta.

Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11329>

---

 .../drivers/i915/ci/deqp-i915-g33-fails.txt        | 151 ++-------------------
 .../drivers/i915/ci/piglit-i915-g33-fails.txt      |  48 ++++---
 src/gallium/drivers/i915/ci/traces-i915.yml        |  21 +--
 src/gallium/drivers/i915/i915_screen.c             | 104 +++++++++++++-
 src/gallium/drivers/i915/i915_state.c              |  28 +++-
 src/gallium/drivers/i915/meson.build               |   1 +
 6 files changed, 177 insertions(+), 176 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=2b3fc26da8bed1f70f6631a3fc6c6cd43fe2acc2


More information about the mesa-commit mailing list