mesa/src
Mary Guillemard 9ce7afc1ac nvk: Use rendering state attachment count when setting SET_CT_SELECT
In case vk_color_attachment_location_state is in its default state, we
would end up with an identity mapping for color_map resulting in 8 RTs
being selected instead of what is really required.

This now use the rendering state attachment count to properly emit
SET_CT_SELECT.

Found while debugging MRT on
"dEQP-VK.shader_object.rendering.color_attachment_count_1.extra_attachment_after_1.none.none.same_color_formats.after.none.r16g16_sint_d32_sfloat_s8_uint"
and while comparing with the proprietary driver.

Signed-off-by: Mary Guillemard <mary@mary.zone>
Fixes: 84de6c12b2 ("nvk: Emit SET_CT_SELECT based on the dynamic color location map")
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
(cherry picked from commit 86d190e158)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39003>
2025-12-16 09:49:04 -08:00
..
amd ac/nir: fix check for increasing size of non-descriptor loads 2025-12-15 11:23:34 -08:00
android_stub
asahi hk: Report the correct plane count in VkDrmFormatModifierProperties2?EXT 2025-11-04 10:16:42 -08:00
broadcom ci: use $CI_TRON_JOB_PRIORITY tag on all ci-tron jobs 2025-12-01 09:16:33 -08:00
c11 c11/threads: fix build on c23 2025-11-13 08:10:20 -08:00
compiler nir: Ignore ray query ranges that don't start with rq_initialize 2025-12-15 11:23:34 -08:00
drm-shim drm-shim: fix with asan 2025-09-03 11:47:00 +00:00
egl egl/x11: Fix memory leak when querying translated coord. 2025-12-15 11:23:34 -08:00
etnaviv ci: use $CI_TRON_JOB_PRIORITY tag on all ci-tron jobs 2025-12-01 09:16:33 -08:00
freedreno ir3: Fix condition for using uniform predicates 2025-12-15 11:23:34 -08:00
gallium asahi: Set prefer_real_buffer_in_constbuf0 2025-12-15 11:23:34 -08:00
gbm egl,glx: allow OpenGL with old libx11, but disable glthread if it's unsafe 2025-08-21 02:05:26 +00:00
getopt
gfxstream gfxstream: fix logspam in TLS helper function 2025-12-04 09:15:31 -08:00
glx glx: provide glx.pc 2025-10-14 20:53:10 +00:00
gtest
imagination pvr: enable samplerMirrorClampToEdge feature 2025-12-03 11:23:49 -08:00
imgui imgui: Silence build warnings for imgui 2025-09-16 06:16:19 +00:00
intel intel/isl: Only assert surface addresses on gfx9+ 2025-12-16 09:49:04 -08:00
loader loader: Wrap nouveau_zink_predicate with HAVE_LIBDRM 2025-11-21 14:22:57 -08:00
mesa gallium: Make upload_cb0 return a releasebuf 2025-12-15 11:23:34 -08:00
microsoft dozen: return INCOMPATIBLE_DRIVER on instance create failure 2025-12-01 09:16:32 -08:00
nouveau nvk: Use rendering state attachment count when setting SET_CT_SELECT 2025-12-16 09:49:04 -08:00
panfrost panfrost/ci: Fix GitLab rules after YAML split 2025-12-15 11:23:34 -08:00
tool clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
util util/driconf/asahi: Override GL renderer for web browsers 2025-12-08 09:25:38 -08:00
virtio venus: fix racy semaphore feedback counter update 2025-12-03 15:02:48 -08:00
vulkan wsi/metal: Fix blit_imate_to_image's pool selection for cmd buffer alloc 2025-12-05 08:11:47 -08:00
x11 meson: add missing x11 dependency on libloader_x11 2025-08-08 21:45:59 +00:00
.clang-format clang-format: Move ForEachMacros into src/.clang-format for freedreno 2025-09-09 07:04:55 +00:00
meson.build Revert "meson: use vcs_tag() instead of custom script" 2025-10-06 23:06:11 +00:00