mesa/src
Faith Ekstrand 11939a70df zink: Use pipe_box helpers for damage calculations
The old code got the accumulation a bit wrong.  For one thing, it always
accumulates with whatever was there instead of resetting to empty each
time.  For another, it sets with with y and height with x when it writes
back to the resource.  This is also all too complicated because it
converts between pipe_box, u_rect, and VkRect2D on every iteration.

Instead, there are helpers in util/box.h which will do most of this work
for us and they're correct.  Let's just use them to get rid of the bugs
and make everything simpler and more obvious at the same time.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12194
Fixes: 3d38c9597f ("zink: hook up KHR_partial_update")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33855>
2025-03-05 15:46:23 +00:00
..
amd radv: remove redundant radv_instance::drirc::rt_wave64 2025-03-05 12:45:08 +00:00
android_stub
asahi hk: switch to common VK_COPY/PRINT_STR 2025-03-01 20:27:26 +00:00
broadcom v3dv: switch to common VK_COPY/PRINT_STR 2025-03-01 20:27:26 +00:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir: Do not eliminate dead writes to shared memory in called functions. 2025-03-04 19:41:13 +00:00
drm-shim
egl egl/surfaceless: Only choose drivers that expose the graphics capability 2025-03-05 10:48:28 +00:00
etnaviv etnaviv/ci: Update flakes for gc7000-r6214 2025-03-04 11:08:59 +00:00
freedreno tu: Be more granular in calculating whether blend state reads color 2025-03-05 15:16:37 +00:00
gallium zink: Use pipe_box helpers for damage calculations 2025-03-05 15:46:23 +00:00
gbm dri: delete INVALIDATE extension 2025-02-26 21:46:06 +00:00
getopt
gfxstream gfxstream: Remove duplicated boxed handle func declarations 2025-02-27 17:37:55 +00:00
glx glx: make it more obvious what libglapi_bridge is 2025-03-03 21:06:06 +00:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel anv: Change as_build to show num tlas/blas 2025-03-05 14:19:56 +00:00
loader kmsro: look for graphics capable screen as renderonly device 2025-03-05 10:48:28 +00:00
mapi glapi: remove unused python code 2025-03-03 21:06:06 +00:00
mesa mesa: avoid creating incomplete surfaces when multiview goes out of range 2025-03-05 09:15:22 +00:00
microsoft vulkan/runtime: store flags on descriptor set layouts 2025-02-27 13:26:58 +02:00
nouveau nak: Set .NODEP on tex ops based on nir_opt_tex_skip_helpers() 2025-03-01 08:44:15 +00:00
panfrost pan/bi: Ensure we select b0 with halfswizzle in va_lower_constants 2025-03-05 13:19:57 +00:00
tool panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
util util/box: Add a intersect_2d helper 2025-03-05 15:46:23 +00:00
virtio venus: fix an obsolete protocol sync earlier 2025-03-02 16:58:21 +00:00
vulkan vulkan : Pass in number of tlas/blas being built 2025-03-05 14:19:56 +00:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format freedreno: move ForEachMacros into freedreno 2025-01-24 12:15:31 +00:00
meson.build glapi: remove check_table tests 2025-03-03 21:06:06 +00:00