Files
mesa/src/util
Zan Dobersek 248edb43c3 tu: allow D3D-compatible texture coordinate rounding
When running under DXVK or vkd3d, the texture coordinate rounding behavior
should match D3D expectations. On Adreno, this behavior can be toggled
through the SP_TP_MODE_CNTL register.

A driconf-based option is introduced to help set the relevant register flag
that enables this behavior.

This fixes the cause of test_sampler_rounding test case failure in vkd3d on
Turnip's side, but a small change in vkd3d is also required, so the test
failure expectation isn't removed yet.

Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33987>
2025-04-04 10:09:47 +00:00
..
2023-11-02 21:03:46 +00:00
2023-12-06 07:22:02 +00:00
2025-03-05 15:46:23 +00:00
2022-09-29 23:40:18 +00:00
2022-09-29 23:40:18 +00:00
2023-10-09 23:37:52 +00:00
2024-01-16 02:15:22 +00:00
2024-08-13 20:35:23 +00:00
2023-10-25 17:27:47 +00:00
2024-10-30 12:59:10 +00:00
2022-11-04 23:20:02 +00:00
2022-11-04 23:20:02 +00:00
2025-03-12 16:49:46 +00:00
2023-10-30 12:35:07 +00:00
2024-11-13 23:33:15 +00:00
2024-06-07 18:29:20 +00:00
2024-11-08 08:09:49 -08:00
2022-11-24 04:33:07 +00:00
2024-06-07 18:29:20 +00:00