mesa/src/vulkan/util
Jason Ekstrand 691ec62452 vulkan: Use altlen when available for array lengths
When the array length is a calculation, the C version of the calculation
is provided in altlen while len often contains LaTeX that we can't do
anything with.  Use altlen when available.  Also, while we're here, wrap
array lengths in parentheses in case they contain math.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18878>
2022-09-29 05:00:10 +00:00
..
gen_enum_to_str.py vulkan: return default string for undefined enum 2022-01-14 10:31:15 +00:00
meson.build vulkan: drop empty vulkan_wsi_args 2022-04-27 11:51:26 +00:00
vk_alloc.c vulkan/util: assume c11 2022-06-14 15:08:37 +00:00
vk_alloc.h vulkan: Allow up to 12 pointers in multialloc 2022-07-22 02:36:17 +00:00
vk_cmd_queue_gen.py vulkan: Use altlen when available for array lengths 2022-09-29 05:00:10 +00:00
vk_dispatch_table_gen.py vulkan: Augment _WIN32 stub comparison 2022-09-08 15:37:11 +00:00
vk_dispatch_trampolines_gen.py vulkan: Move trampoline code-gen to its own file 2021-10-29 23:12:32 +00:00
vk_entrypoints.py vulkan: Use altlen when available for array lengths 2022-09-29 05:00:10 +00:00
vk_entrypoints_gen.py vulkan_entrypoints_gen: For Windows ARM64EC, prefix symbols with '#' 2022-06-29 01:18:19 +00:00
vk_extensions.py vulkan: update ALLOWED_ANDROID_VERSION for api level 33 2022-09-13 23:34:58 +00:00
vk_extensions_gen.py vk/util: simplify extensions gen code 2022-07-22 15:56:28 +00:00
vk_format.c util/format,vulkan/format: update p_format for Vulkan vertex buffers 2022-08-30 19:02:11 +00:00
vk_format.h vulkan: Introduce vk_format_is_block_compressed function 2022-08-23 19:01:17 +00:00
vk_icd_gen.py vulkan, radv: Support backslash in ICD paths 2021-11-10 09:48:41 +00:00
vk_util.c vulkan: add vk_spec_info_to_nir_spirv util method 2021-07-29 03:28:52 +00:00
vk_util.h vulkan: Make vk_copy_struct_guts() public 2022-08-30 08:09:55 +00:00