mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 06:58:16 +02:00
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:
|
||
|---|---|---|
| .. | ||
| lcra.c | ||
| lcra.h | ||
| meson.build | ||
| pan_collect_varyings.c | ||
| pan_ir.c | ||
| pan_ir.h | ||
| pan_liveness.c | ||
| pan_lower_framebuffer.c | ||
| pan_lower_framebuffer.h | ||
| pan_lower_helper_invocation.c | ||
| pan_lower_sample_position.c | ||
| pan_lower_store_component.c | ||
| pan_lower_writeout.c | ||
| pan_lower_xfb.c | ||