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

Author: Connor Abbott <cwabbo...@gmail.com>
Date:   Sat Nov  4 00:23:47 2023 +0100

tu: Make sure copies to half-float formats are bit exact

We previously used the 2d path for single-sampled copies which seems to
canonicalize NaNs when the source format is a 16-bit floating point
format, likely because it implicitly converts to 32 bits. The current 3d
path also implicitly converts and has the same problem. Add a new shader
variant for half-float copies and switch to using it.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26042>

---

 src/freedreno/ci/freedreno-a618-fails.txt      | 953 ------------------------
 src/freedreno/ci/freedreno-a630-asan-fails.txt |   1 -
 src/freedreno/ci/freedreno-a630-fails.txt      | 314 --------
 src/freedreno/ci/freedreno-a660-fails.txt      | 978 -------------------------
 src/freedreno/vulkan/tu_clear_blit.cc          |  86 ++-
 src/freedreno/vulkan/tu_device.h               |   1 +
 src/freedreno/vulkan/tu_formats.h              |  12 +
 7 files changed, 78 insertions(+), 2267 deletions(-)

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

Reply via email to