mesa/src/intel
Nanley Chery f616d4fb2a anv: Treat non-WSI PRESENT_SRC as TRANSFER_SRC
For non-WSI images, explicitly map VK_IMAGE_LAYOUT_PRESENT_SRC_KHR to
VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL in anv_layout_to_aux_state().

Before this patch, the function passed PRESENT_SRC into
vk_image_layout_to_usage_flags() and got a return value of 0 from it
(that function expects that layout to be explicitly handled by the
caller). This caused the logic dependent on the return value to be
unreliable.

Fixes: c5cad407f8 ("anv: handle non-wsi images in anv_layout_to_aux_state")
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39618>
2026-02-02 18:40:50 +00:00
..
blorp intel/blorp: Bump pitch when clearing unaligned bottom rows 2026-01-27 18:46:55 +00:00
ci ci: update trace checksums 2026-01-19 16:11:29 +00:00
common intel/measure: Define snapshot type for HiZ partial resolves. 2026-01-27 08:52:16 +00:00
compiler intel/brw: Add BRW_DEPENDENCY_INSTRUCTIONS invalidation when instructions are added or removed in brw_opt_split_virtual_grfs() 2026-02-02 14:46:50 +00:00
decoder intel/decoder: make libvulkan_intel to depend on stub decoder when buildtyle=release. 2025-11-24 16:40:02 +08:00
dev intel/dev: Add INTEL_DEVICE_INFO_MMAP_MODE_INVALID 2026-01-26 15:24:55 +00:00
ds anv: instrument resource barriers instruction in u_trace 2025-12-15 08:25:42 +00:00
executor meson: make dep_lua a disabler 2025-11-21 21:48:57 +00:00
genxml intel/blorp: Add support for partial resolves of HiZ-CCS surfaces. 2026-01-27 08:52:17 +00:00
isl intel/isl: Fix QPitch of arrayed MCS 2026-01-27 18:46:47 +00:00
mda intel/mda: Use -W for color words diff and -U for regular unified diff 2026-01-28 22:11:11 +00:00
nullhw-layer build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
perf intel/perf: Add Gfx 12.5 mdap_metrics struct and set it 2026-01-19 19:24:16 +00:00
shaders util/glsl2spirv: Use better glslang flag for -Olib 2025-11-20 02:14:50 +00:00
tools intel/hang_replay: add option to dump VM state as part of the dump 2026-01-07 19:16:25 +00:00
vulkan anv: Treat non-WSI PRESENT_SRC as TRANSFER_SRC 2026-02-02 18:40:50 +00:00
vulkan_hasvk intel/isl: Define ISL_AUX_STATE_COMPRESSED_HIER_DEPTH aux state. 2026-01-27 08:52:12 +00:00
meson.build brw: Move into a new src/intel/compiler/brw subdirectory 2025-10-09 07:01:47 +00:00