mesa/src
Pavel Ondračka 416da54cce r300: fix MSAA resolve COLORPITCH tiling after pipe_surface de-pointerization
r300_simple_msaa_resolve used to patch srcsurf->pitch with the resolve
destination's tiling bits before passing the surface to the blitter.
That worked when set_framebuffer_state kept the same pipe_surface
pointer, so r300_get_nonnull_cb returned the patched object.

After the de-pointerization, r300_framebuffer_init creates a fresh
r300_surface from the pipe_surface template, discarding the pitch
modification. The hardware then uses the MSAA source tiling for
R300_RB3D_COLORPITCH0, leading to corruption.

Move the tiling override into r300_emit_fb_state and override the tiling
bits of COLORPITCH from the destination surface at emit time.

Fixes: 2eb45daa9c ("gallium: de-pointerize pipe_surface")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/15303
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41092>
2026-04-27 12:05:44 +00:00
..
amd radv: cleanup invalidating vertex draw state 2026-04-27 10:32:10 +00:00
android_stub android_stub: fix missing prototypes issues 2025-12-02 20:03:02 +00:00
asahi spirv,treewide: rework specialization constant 2026-04-22 06:57:55 +00:00
broadcom ci: Delete references to various broken traces. 2026-04-22 17:39:31 +00:00
c11
compiler pco: reserve additional outputs for trilinear sampled coeffs 2026-04-27 11:32:29 +00:00
drm-shim drm-shim: fix shim on GLX 2026-04-14 12:06:10 +00:00
egl meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
etnaviv Uprev Piglit to 11ce9eb56edb00e6a7702d13168cc827ce5e0cbd 2026-04-10 21:21:52 +00:00
freedreno ir3/ra: fix killed src detection while spilling 2026-04-25 14:11:10 +00:00
gallium r300: fix MSAA resolve COLORPITCH tiling after pipe_surface de-pointerization 2026-04-27 12:05:44 +00:00
gbm gbm: Make documentation for gbm_bo_map more explicit 2025-12-29 10:05:38 +00:00
getopt
gfxstream gfxstream: fix string array marshalling 2026-04-20 15:46:58 +00:00
glx meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
gtest
imagination pco: reserve additional outputs for trilinear sampled coeffs 2026-04-27 11:32:29 +00:00
imgui
intel intel/tools: Fix parse of '[HWCTX].replay_*' in aubinator_error_decode_xe 2026-04-24 20:19:09 +00:00
kosmickrisp kk: Add support for VK_EXT_depth_clip_control. 2026-04-27 11:01:00 +00:00
loader kmsro: wire Zink up as a fallback 2026-03-13 18:54:26 +00:00
mesa spirv,treewide: rework specialization constant 2026-04-22 06:57:55 +00:00
microsoft microsoft/compiler, d3d12: preserve TCS outputs and pad TES inputs for cross-stage signature matching 2026-04-23 18:45:01 +00:00
nouveau nak/lower_cf: remove single src phis 2026-04-21 23:37:55 +00:00
panfrost pan/ci: add a flake from nightly 2026-04-27 09:27:02 +00:00
poly panvk/csf: implement VK_EXT_primitives_generated_query primitive restart 2026-01-21 09:03:34 +00:00
tool intel: Include available counter descriptions in the perfetto counter spec 2026-03-06 08:47:16 +00:00
util radv: re-introduce DGC+multiview support and enable it for vkd3d-proton only 2026-04-27 07:08:23 +00:00
virtio venus: adopt common ANB helpers 2026-04-24 16:25:36 +00:00
vulkan vulkan: Query memory requirements in vk_android_import_anb_memory 2026-04-23 21:21:31 +00:00
x11 meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
.clang-format intel: add Jay 2026-04-10 18:21:21 +00:00
meson.build gallium/dril: Don't use gbm if there is no gbm configured 2026-02-17 08:24:02 +00:00