mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 00:28:08 +02:00
All vulkan drivers have been copying anv's code to convert
VkSpecializationInfo into nir_spirv_specialization.
Recently there was a Vulkan spec change on allowed values for
VkSpecializationInfo, and all drivers got affected.
This commits creates a new helper, and uses it on all Vulkan Mesa
drivers.
v2: use (uint8_t*) castings, instead of void*, to avoid C2036 with
MSVC (detected by the CI, inspired on what radv was doing)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12047>
|
||
|---|---|---|
| .. | ||
| meson.build | ||
| panvk_cmd_buffer.c | ||
| panvk_cs.c | ||
| panvk_cs.h | ||
| panvk_descriptor_set.c | ||
| panvk_device.c | ||
| panvk_formats.c | ||
| panvk_image.c | ||
| panvk_mempool.c | ||
| panvk_mempool.h | ||
| panvk_meta.c | ||
| panvk_pass.c | ||
| panvk_pipeline.c | ||
| panvk_pipeline_cache.c | ||
| panvk_private.h | ||
| panvk_query.c | ||
| panvk_shader.c | ||
| panvk_sync.c | ||
| panvk_util.c | ||
| panvk_varyings.c | ||
| panvk_varyings.h | ||
| panvk_wsi.c | ||
| panvk_wsi_display.c | ||
| panvk_wsi_wayland.c | ||