Mesa (main): d3d12: Enable texture gather

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Dec 30 18:51:46 UTC 2021


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

Author: Jesse Natalie <jenatali at microsoft.com>
Date:   Wed Dec  8 11:01:29 2021 -0800

d3d12: Enable texture gather

The CI changes are because WARP fails really hard at gather,
with crashes when doing it on a 1x1 or Nx1 texture, and incorrectly
applying swizzling to the result vector instead of the actual texture
accesses.

Reviewed-by: Sil Vilerino <sivileri at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14161>

---

 src/gallium/drivers/d3d12/ci/d3d12-quick_gl.txt    | 1758 ++++++++------------
 .../drivers/d3d12/ci/d3d12-quick_shader.txt        |    6 +-
 src/gallium/drivers/d3d12/ci/gitlab-ci.yml         |    2 +
 src/gallium/drivers/d3d12/d3d12_screen.cpp         |    2 -
 src/microsoft/compiler/dxil_function.c             |    1 +
 src/microsoft/compiler/nir_to_dxil.c               |   28 +
 6 files changed, 732 insertions(+), 1065 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=8926cfc9f71ce6e9e901e99a2ed65613ff27a265


More information about the mesa-commit mailing list