mesa/src/panfrost
Benjamin Lee b3d1130d5d panvk: disable round_to_nearest_even for NEAREST-filtered samplers
As described in the comment, enabling the round_to_nearest_even results
in the upper 2^-9 of the texel i being sampled at i+1. This appears to
be allowed by the spec, but triggers a CTS bug[1]. Changing this behavior
is not necessary (we could fix the CTS), but is desirable regardless
because of the precision improvement.

[1]: https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/5547

Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32985>
2025-01-17 03:59:39 +00:00
..
ci panvk: disable round_to_nearest_even for NEAREST-filtered samplers 2025-01-17 03:59:39 +00:00
compiler pan/va: fix base-level for nir_texop_lod 2025-01-17 02:48:06 +00:00
drm-shim panfrost: Report default value for GROUP_PRIORITIES_INFO in drm-shim 2024-11-12 08:46:22 +00:00
ds build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
lib panvk: Fix descriptor decode 2025-01-15 15:05:05 +00:00
midgard panfrost: Kill panfrost-job.h 2025-01-07 11:10:55 +00:00
perf panfrost: Kill panfrost-job.h 2025-01-07 11:10:55 +00:00
shared format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
tools build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
util panfrost: ensure sample_mask is written before color 2025-01-08 16:45:21 +00:00
vulkan panvk: disable round_to_nearest_even for NEAREST-filtered samplers 2025-01-17 03:59:39 +00:00
.clang-format pan/cs: cs_{break,continue} are not for_each macros 2025-01-15 14:07:37 +00:00
meson.build panfrost: Kill panfrost-job.h 2025-01-07 11:10:55 +00:00