mesa/src
Lionel Landwerlin 951ffef8ab brw: disable null_rt only if color output does not affect other outputs
We found out that some HW changes on Xe2 make the HW avoid reading the
blend state if we're using the null_rt bit in the extended descriptor.

Since the alpha_to_coverage bit resides in the blend state, that state
is ignored and writes are going through to the depth/stencil buffers.

Disable null_rt in the color outputs if the color outputs can affect
other outputs (through alpha_to_coverage & omask).

Fixes tests in this pattern on Xe2 :

dEQP-VK.pipeline.*.multisample.alpha_to_coverage_no_color_attachment.*

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Backport-to: 24.2
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31196>
(cherry picked from commit 35ea8b6cd2)
2024-09-24 19:13:34 +02:00
..
amd radv: fix assigning mesh shader outputs when clip/cull distances are read in FS 2024-09-23 17:24:25 +02:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
broadcom v3d: do not rebind a sampler view already rebound 2024-09-16 19:08:24 +02:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler clc: find opencl headers from the installed llvm/clang location 2024-09-23 17:44:16 +02:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl egl/dri/wl: Move swrast damage region from put to swap 2024-09-23 17:24:25 +02:00
etnaviv etnaviv/ci: fix gc2000_piglit test timeout 2024-08-29 17:32:38 +02:00
freedreno ci/freedreno: move disabled a530 entries back to main gitlab-ci.yml 2024-09-16 20:52:05 +02:00
gallium iris: ensure null render target for specific cases 2024-09-24 18:54:44 +02:00
gbm gbm: depend on libdrm indepedent of dri2 setting 2024-08-21 11:07:01 +02:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
glx glx/dri2: strdup driver name 2024-08-20 18:34:45 +02:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: Handle VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO 2024-07-23 22:02:50 +02:00
imgui
intel brw: disable null_rt only if color output does not affect other outputs 2024-09-24 19:13:34 +02:00
loader loader: gc loader_get_extensions_name() and __DRI_DRIVER_{GET_,}EXTENSIONS defines 2024-07-21 14:59:05 +02:00
mapi mesa_interface: Move out of GL/internal/ 2024-07-17 23:47:05 +00:00
mesa mesa: Reset vbo attributes after flushing them to Current in glPopAttrib 2024-09-16 20:40:44 +02:00
microsoft microsoft/compiler: Move nir_lower_undef_to_zero out of the optimization loop 2024-09-05 12:54:35 -07:00
nouveau nvk: Use stride in the explicit modifier case for linear images 2024-09-16 19:00:08 +02:00
panfrost pan/kmod: Don't cap VM bind operations to one 2024-09-16 20:40:45 +02:00
tool build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
util radv: Work around broken terrain in Warhammer III 2024-09-16 20:44:41 +02:00
virtio venus: workaround cacheline overflush issue on Intel JSL 2024-08-28 15:31:32 +02:00
vulkan vulkan/wsi/wayland: fix suboptimal flag being ignored with explicit sync 2024-09-16 20:51:56 +02:00
.clang-format asahi: add agx_ppp_push_merged helper 2024-05-14 04:57:27 +00:00
meson.build gbm: link directly with libgallium 2024-07-18 20:30:43 +00:00