mesa/src
Connor Abbott 773a873c5f tu: Fix layer_count with dynamic rendering + multiview
With "classic" renderpasses, the VkFramebuffer's layerCount must be 1 if
multiview is enabled. We accidentally rely on this to not disable GMEM
for multiview, and possibly for other things too. Apparently the dynamic
rendering equivalent, VkRenderingInfo::layerCount, can be anything when
multiview is enabled, and some CTS tests set it to the number of views.
Sanitize it when constructing the internal framebuffer for dynamic
rendering.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34080>
(cherry picked from commit 15660caa90)
2025-04-10 17:12:23 +02:00
..
amd [25.0 only] update more ci expectations 2025-04-10 17:12:23 +02:00
android_stub
asahi [25.0-only] hk: comment out dead variable 2025-02-04 20:47:26 +01:00
broadcom v3dv: don't overwrite the primary fd if it's already set 2025-03-15 09:49:03 +01:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler compiler/glsl: check that bias is not used outside fragment stage 2025-04-10 17:12:23 +02:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl egl/surfaceless: Only choose drivers that expose the graphics capability 2025-04-02 11:04:10 +02:00
etnaviv etnaviv: always clamp shadow sampler comparison reference value 2025-01-28 00:01:07 +00:00
freedreno tu: Fix layer_count with dynamic rendering + multiview 2025-04-10 17:12:23 +02:00
gallium [25.0 only] update more ci expectations 2025-04-10 17:12:23 +02:00
gbm gbm: fix get_back_bo() failure with gbm_surface and implicit modifiers 2025-02-15 00:03:01 +01:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gfxstream gfxstream: follow the semantics desired by distro VK loader 2025-04-10 17:12:23 +02:00
glx glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: use vk_descriptor_type_is_dynamic 2024-12-19 15:12:58 +00:00
imgui
intel brw/nir: Lower fsign again after last call to brw_nir_optimize 2025-04-02 14:22:09 +02:00
loader kmsro: look for graphics capable screen as renderonly device 2025-04-02 11:04:10 +02:00
mapi mesa/main: wire up glapi bits for EXT_multi_draw_indirect 2025-02-21 17:07:26 +01:00
mesa mesa/main: fix regression in extension-checking 2025-04-02 11:04:13 +02:00
microsoft ci: fix the artifact name 2025-02-05 16:05:42 +01:00
nouveau nak: add reads after setting writes 2025-04-02 14:18:26 +02:00
panfrost panvk: check for texture-compression support 2025-04-02 11:04:13 +02:00
tool panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
util anv,driconf: Add sampler coordinate precision workaround for EVE Online 2025-04-02 11:04:13 +02:00
virtio venus: fix maint4 multi-planar memory requirements 2025-04-02 11:04:10 +02:00
vulkan vulkan/wsi: Signal buffer memory object when blitting 2025-04-02 11:04:13 +02:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format freedreno: move ForEachMacros into freedreno 2025-01-24 12:15:31 +00:00
meson.build dri: put shared-glapi into libgallium.*.so 2025-01-23 00:49:05 +00:00