mesa/src/panfrost
Christian Duerr 49c1b404e5 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>
2024-02-05 13:25:56 +00:00
..
ci Uprev Piglit to e9316bcd12544aaf7e753ce37fe50d64165d9598 2024-01-29 18:27:07 +00:00
compiler panfrost: fix UB caused by shifting signed int too far 2024-02-02 14:56:20 +00:00
drm-shim panfrost: fix panfrost drm-shim 2024-01-22 09:36:47 +00:00
ds panfrost: Make pan_perf panfrost_device agnostic 2024-01-23 16:32:09 +00:00
include
lib panfrost: Move pan_{bo,device}.{c,h} to the gallium driver dir 2024-01-23 16:32:10 +00:00
midgard nir: rework and fix rotate lowering 2024-01-22 10:27:44 +00:00
perf panfrost: Make pan_perf panfrost_device agnostic 2024-01-23 16:32:09 +00:00
shared
tools panfrost: Make panfrost_texfeatures.c panfrost_device agnostic 2024-01-23 16:32:09 +00:00
util panfrost: Fix dual-source blending 2024-02-05 13:25:56 +00:00
vulkan vulkan: enable VK_KHR_shader_expect_assume 2024-01-30 19:09:42 +00:00
.clang-format
meson.build