mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 05:50:14 +01:00
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> |
||
|---|---|---|
| .. | ||
| gen_enum_to_str.py | ||
| meson.build | ||
| vk_alloc.c | ||
| vk_alloc.h | ||
| vk_cmd_queue_gen.py | ||
| vk_dispatch_table_gen.py | ||
| vk_dispatch_trampolines_gen.py | ||
| vk_entrypoints.py | ||
| vk_entrypoints_gen.py | ||
| vk_extensions.py | ||
| vk_extensions_gen.py | ||
| vk_format.c | ||
| vk_format.h | ||
| vk_icd_gen.py | ||
| vk_physical_device_features_gen.py | ||
| vk_physical_device_properties_gen.py | ||
| vk_physical_device_spirv_caps_gen.py | ||
| vk_struct_type_cast_gen.py | ||
| vk_synchronization_helpers_gen.py | ||
| vk_util.c | ||
| vk_util.h | ||