mesa/src/vulkan
Casey Bowman 1da221427e vulkan/screenshot-layer: Add RGBA surface format support
The mesa screenshot layer attempts to use VK_FORMAT_R8G8B8_UNORM by
default. Using this, we can directly & efficiently write out to a
PNG file without further modifications. However, some GPUs don't
support the given format, so for those that don't, we'll attempt to
use VK_FORMAT_R8G8B8A8_UNORM, which will require some work to ensure
the alpha values are set to opaque to make RGB comparisons easier.

If both surface formats fail, a more descriptive failure
will be shown.

Signed-off-by: Casey Bowman <casey.g.bowman@intel.com>
Reviewed-by: Felix DeGrood <felix.j.degrood@intel.com>
Reviewed-by: Karmjit Mahil <karmjit.mahil@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33295>
2025-02-04 00:51:35 +00:00
..
device-select-layer vulkan: bump layer api versions 2024-12-10 17:17:12 +00:00
overlay-layer vk/overlay-layer: defer log creation to swapchain creation 2025-01-10 23:44:24 +00:00
registry vulkan: Update XML and headers to 1.4.305 2025-01-17 16:42:27 +00:00
runtime vulkan/meta: Stop using strings for meta keys 2025-02-03 16:03:49 +01:00
screenshot-layer vulkan/screenshot-layer: Add RGBA surface format support 2025-02-04 00:51:35 +00:00
util vulkan/util: Add c99_compat.h inclusion for cpp 'restrict' compatibility 2025-01-15 17:19:13 +00:00
vram-report-limit-layer vulkan: Add inital vram-report-limit layer 2025-01-24 19:56:43 +00:00
wsi vulkan/wsi: unset GAMMA_LUT, CTM and DEGAMMA_LUT when doing a modeset 2025-01-21 21:09:16 +00:00
meson.build vulkan: Add inital vram-report-limit layer 2025-01-24 19:56:43 +00:00
vulkan-android.sym android/vk: drop unnecessary symbols 2023-03-04 07:41:10 +00:00
vulkan-icd-android-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan-icd-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan.sym vk: move radv's linker symbols scripts for use in all drivers 2023-03-04 07:41:10 +00:00
vulkan_api.def.in win32: Fixes 32 bits visual studio module definition files by add script gen_vs_module_defs.py 2022-04-19 19:38:47 +00:00