mesa/src
Christian Duerr 7a27b2afba panfrost: Fix dual-source blending
If dual blending is enabled, only 1 output is supported. Multiple
outputs confuse the write combining pass in this case, leading to
incorrect output and/or an assert failure in emit_fragment_store.

The fix is straightforward, just skip the speculative emitting of
multiple outputs in the case where dual source blending is enabled.

This also adds an extra sanity check in `pan_nir_lower_zs_store` to
check for only one blend store being present.

Fixes: c65a9be421 ("panfrost: Preprocess shaders at CSO create time")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9487
Co-Authored-By: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26474>
(cherry picked from commit 49c1b404e5)
2024-02-06 22:09:17 +00:00
..
amd radv: don't submit 0 length on UVD either. 2024-02-06 22:09:16 +00:00
android_stub
asahi nir: rework and fix rotate lowering 2024-01-23 20:34:30 +00:00
broadcom broadcom/compiler: be more careful with unifa in non-uniform control flow 2024-01-31 22:21:24 +00:00
c11 util/meson: Getting mesa util core to be self contained 2023-08-02 03:41:24 +00:00
compiler glsl: don't tree graft globals 2024-02-06 22:06:13 +00:00
drm-shim compiler,vulkan,drm-shim: Remove unused include directories from meson.build 2023-10-27 01:35:10 +00:00
egl egl/drm: flush before calling get_back_bo 2024-02-06 22:06:12 +00:00
etnaviv etnaviv/drm: Remove redundant ALIGN macro by #include "util/u_math.h" 2024-01-08 08:53:31 +00:00
freedreno util: rename __check_suid() to __normal_user() 2024-01-31 21:22:03 +00:00
gallium panfrost: Fix dual-source blending 2024-02-06 22:09:17 +00:00
gbm gbm: delete some zink handling 2023-10-09 18:43:09 +00:00
getopt
glx glx: Handle IGNORE_GLX_SWAP_METHOD_OML regardless of GLX_USE_APPLEGL 2023-12-18 17:52:09 +00:00
gtest gtest: backport ansi color fix 2023-08-18 21:33:14 +00:00
imagination pvr: alloc WSI memory via GPU when there isn't a valid display FD 2023-12-12 12:41:13 +00:00
imgui
intel anv/video: fix out-of-bounds read 2024-01-31 22:21:23 +00:00
loader tree-wide: use __normal_user() everywhere instead of writing the check manually 2024-01-31 21:22:04 +00:00
mapi glthread: add a string table of function names 2023-12-08 04:25:52 +00:00
mesa mesa/main: Use secure_getenv for shader dumping 2024-01-31 22:21:23 +00:00
microsoft nir: rework and fix rotate lowering 2024-01-23 20:34:30 +00:00
nouveau nak: Fix TCS output reads 2024-01-29 21:16:35 +00:00
panfrost panfrost: Fix dual-source blending 2024-02-06 22:09:17 +00:00
tool perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
util driconf: set vk_x11_strict_image_count for Atlas Fallen Vulkan 2024-02-06 22:07:47 +00:00
virtio virgl: Use better reporting for mirror_clamp features 2024-01-31 19:31:13 +00:00
vulkan vk/util: fix 'beta' check for physical device properties 2024-02-06 22:05:54 +00:00
.clang-format nir: add _safe variants of nir_foreach_reg_load/store 2023-12-15 17:19:28 +00:00
meson.build meson: Only include virtio when DRM available 2023-11-07 18:22:56 +00:00