mesa/src
Jianxun Zhang a45143e04c anv: Don't choose compression modifier when aux is disabled
When aux has to be disabled (ISL_SURF_USAGE_DISABLE_AUX_BIT)
for some reasons like VK_SHARING_MODE_CONCURRENT, we simply
cannot implicitly choose any modifier with compression.

Otherwise, we run into a situation that an image is created
with a modifier but without the aux support that modifier
requires. It will fail a CTS test once Xe2 modifiers are
enabled:

dEQP-VK.wsi.wayland.swapchain.private_data.image_sharing_mode

MESA: warning: ../src/intel/vulkan/anv_image.c:1198: image with
modifier unexpectedly has wrong aux usage (VK_ERROR_UNKNOWN)

GFX12.x (MTL) does not show this failure because only one queue
family is present. But they will face the same issue when aux is
disabled for any other reasons:

NotSupported (Only 1 queue families available for
VK_SHARING_MODE_CONCURRENT at vktWsiSwapchainTests.cpp:715)

Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34567>
2025-06-12 04:07:12 +00:00
..
amd Uprev Piglit to a0a27e528f643dfeb785350a1213bfff09681950 2025-06-11 21:14:59 +00:00
android_stub
asahi asahi/lib: Don't use deprecated NIR_PASS_V macro 2025-06-11 21:43:01 +00:00
broadcom vc4,v3d: update expected results 2025-06-11 11:55:54 +00:00
c11
compiler spirv: use feq for OpIsInf 2025-06-11 18:34:21 +00:00
drm-shim
egl egl/dri/wayland: Fix memory leak in wayland buffer handling 2025-06-11 17:09:47 +00:00
etnaviv Uprev Piglit to a0a27e528f643dfeb785350a1213bfff09681950 2025-06-11 21:14:59 +00:00
freedreno ir3/legalize: don't allow end instruction as jump target on a5xx 2025-06-10 22:51:21 +00:00
gallium iris: Enable Xe2 modifier (xe2) 2025-06-12 04:07:11 +00:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: Prune the wait/signal semaphore lists on queue submissions 2025-06-11 11:46:10 -04:00
glx glx,egl: drop libpipe_loader_dynamic dependency 2025-05-27 07:53:20 +00:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel anv: Don't choose compression modifier when aux is disabled 2025-06-12 04:07:12 +00:00
loader loader/wayland: Move acquisition time tracking into perfetto flows 2025-05-26 16:13:25 -05:00
mapi Get rid of 5 remaining references to glapitable.h 2025-04-23 20:18:25 +00:00
mesa mesa/main: contain mutlisample advanced limitations 2025-06-10 19:22:48 +00:00
microsoft ci: Skip check-only container jobs for pre-merge 2025-06-10 14:37:14 +00:00
nouveau nvk: Drop nvk_buffer_address() 2025-06-11 18:09:38 +00:00
panfrost Uprev Piglit to a0a27e528f643dfeb785350a1213bfff09681950 2025-06-11 21:14:59 +00:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util util/box: make u_box_test_intersection_2d() consistent with other funcs 2025-06-11 20:46:29 +00:00
virtio venus: force sw wsi path on nv proprietary 2025-06-09 17:17:08 +00:00
vulkan vulkan/wsi: add cached bit to wsi host memory selection 2025-06-10 12:55:09 +00:00
x11
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build meson: support building with system libgbm 2025-04-09 12:15:33 +00:00