mesa/src/panfrost/vulkan
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
..
bifrost pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
csf panvk/csf: Add a knob to force texture cache invalidation on RUN_FRAGMENT 2025-01-16 18:14:43 +00:00
jm pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
valhall panvk: Overhaul the Bifrost descriptor set implementation 2024-06-14 20:52:21 +00:00
meson.build panvk: Factor-out the sysvals initialization logic 2025-01-07 08:15:19 +00:00
panvk_android.c panvk: Add missing headers to android platform 2024-10-14 23:09:03 +00:00
panvk_blend.h panvk: Pass a cmdbuf to blend_emit_descs() 2025-01-07 08:15:19 +00:00
panvk_buffer.c panvk: never prefer or require dedicated allocation for buffers 2024-12-02 20:58:23 +00:00
panvk_buffer.h panvk: Rework the NULL test in panvk_buffer_{gpu_ptr,range}() 2024-08-21 16:14:35 +00:00
panvk_buffer_view.h panvk: Use memory pools for internal GPU data attached to vulkan objects 2024-06-17 07:31:50 +00:00
panvk_cmd_alloc.h panvk: Catch indirect allocation failures 2024-10-01 14:36:38 +00:00
panvk_cmd_desc_state.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
panvk_cmd_dispatch.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
panvk_cmd_draw.h panvk/csf: Rework the occlusion query logic to avoid draw flushes 2025-01-15 14:07:37 +00:00
panvk_cmd_fb_preload.h panvk: Build cmd_fb_preload on explicit fb_info 2024-11-26 11:58:28 +01:00
panvk_cmd_meta.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
panvk_cmd_oq.h panvk/csf: Rework the occlusion query logic to avoid draw flushes 2025-01-15 14:07:37 +00:00
panvk_cmd_pool.c panvk: Catch indirect allocation failures 2024-10-01 14:36:38 +00:00
panvk_cmd_pool.h panvk: Prepare panvk_cmd_pool for CSF 2024-08-23 14:38:59 +00:00
panvk_cmd_push_constant.h panvk: Pack push constants 2025-01-07 08:15:19 +00:00
panvk_descriptor_set.h panvk: Overhaul the Bifrost descriptor set implementation 2024-06-14 20:52:21 +00:00
panvk_descriptor_set_layout.h panvk: use vk_descriptor_type_is_dynamic 2024-12-19 15:12:58 +00:00
panvk_device.h panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
panvk_device_memory.c panvk: do not leak mapped memory 2024-11-14 18:45:44 +00:00
panvk_device_memory.h panvk: Conditionally register an host address when tracking user memory 2024-08-23 14:39:00 +00:00
panvk_image.c panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
panvk_image.h panvk: Support D32_S8 as a multiplanar format 2024-12-02 20:18:43 +00:00
panvk_image_view.h panvk: Emit textures needed for FB preload at image view creation time 2024-10-03 09:53:34 +00:00
panvk_instance.c panvk/csf: Add a knob to force texture cache invalidation on RUN_FRAGMENT 2025-01-16 18:14:43 +00:00
panvk_instance.h panvk/csf: Add a knob to force texture cache invalidation on RUN_FRAGMENT 2025-01-16 18:14:43 +00:00
panvk_macros.h panvk: Catch indirect allocation failures 2024-10-01 14:36:38 +00:00
panvk_mempool.c panvk: Make panvk_pool_free_mem() error proof 2024-10-15 13:16:07 +00:00
panvk_mempool.h panvk: Fix panvk_priv_mem_bo() on 32-bit platforms 2025-01-10 15:53:36 +00:00
panvk_meta.h panvk: improve C++ compat for perfetto 2024-12-17 23:14:26 +00:00
panvk_physical_device.c panvk: re-enable fragmentStoresAndAtomics for v10 2025-01-08 16:45:21 +00:00
panvk_physical_device.h panvk: make vk-version helper internal to source 2024-12-16 12:10:50 +00:00
panvk_priv_bo.c panvk: Catch indirect allocation failures 2024-10-01 14:36:38 +00:00
panvk_priv_bo.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
panvk_query_pool.h panvk: widen type before multiplying 2024-11-28 10:22:22 +00:00
panvk_sampler.h panvk: Make panvk_sampler a per-gen 2024-03-27 09:47:34 +00:00
panvk_shader.h panvk: Fix an alignment issue on x86 2025-01-10 15:53:36 +00:00
panvk_tracepoints.py panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
panvk_utrace.c panvk/csf: flush and process trace events for all cmdbufs 2024-12-17 23:14:26 +00:00
panvk_utrace.h panvk/csf: flush and process trace events for all cmdbufs 2024-12-17 23:14:26 +00:00
panvk_utrace_perfetto.cc panvk: silence a perfetto init warning 2024-12-19 19:00:13 +00:00
panvk_utrace_perfetto.h panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
panvk_vX_blend.c panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
panvk_vX_buffer_view.c pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
panvk_vX_cmd_desc_state.c pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
panvk_vX_cmd_dispatch.c panvk: Pack push constants 2025-01-07 08:15:19 +00:00
panvk_vX_cmd_draw.c panvk/jm: Fix depth clipping with small viewport depth range 2025-01-08 11:13:18 +00:00
panvk_vX_cmd_fb_preload.c pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
panvk_vX_cmd_meta.c panvk: Pack push constants 2025-01-07 08:15:19 +00:00
panvk_vX_cmd_push_constant.c panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
panvk_vX_descriptor_set.c panvk: use vk_descriptor_type_is_dynamic 2024-12-19 15:12:58 +00:00
panvk_vX_descriptor_set_layout.c panvk: use vk_descriptor_type_is_dynamic 2024-12-19 15:12:58 +00:00
panvk_vX_device.c vulkan: add a new vk_meta option to use the rect list pipeline path 2024-12-31 10:32:50 +00:00
panvk_vX_image_view.c pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
panvk_vX_nir_lower_descriptors.c panvk: Automate sysval access from NIR shaders 2025-01-07 08:15:19 +00:00
panvk_vX_query_pool.c panvk: no need to zero results on query reset 2025-01-14 05:43:46 +00:00
panvk_vX_sampler.c panvk: disable round_to_nearest_even for NEAREST-filtered samplers 2025-01-17 03:59:39 +00:00
panvk_vX_shader.c pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
panvk_wsi.c panvk: remove unused panvk_physical_device::master_fd 2024-10-15 00:34:04 +00:00
panvk_wsi.h panvk: Move panvk_wsi definitions to panvk_wsi.h 2024-03-27 09:47:34 +00:00