mesa/src/vulkan
Alyssa Rosenzweig e331efd4fe vulkan: add common VK_PRINT_STR/VK_COPY_STR macros
every vk driver wants these macros for executable statistics, so make them
common. there are two variants floating in-tree, a pure copy (radv) and a
formatted print (everyone else). we add both variants and then convert most
prints to copies where formatting isn't actually used. that has the benefit of
cleaning up trivial "%s" format strings in a bunch of places.

I didn't bother cleaning up the formatting in non-automatic-formatted drivers
because it's tedious and I'm planning to delete a lot of this driver code with
upcoming runtime work anyway. This is a step towards those runtime improvements.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33826>
2025-03-01 20:27:26 +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: Add utilities for triggering renderdoc captures 2025-02-28 12:40:43 +01:00
screenshot-layer vulkan/screenshot-layer: Correct queueFamilyIndex source 2025-02-20 22:36:44 +00:00
util vulkan: add common VK_PRINT_STR/VK_COPY_STR macros 2025-03-01 20:27:26 +00:00
vram-report-limit-layer vulkan: Add inital vram-report-limit layer 2025-01-24 19:56:43 +00:00
wsi wsi/common: android: disable KHR_present_[wait/id] 2025-02-28 19:49:59 +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