mesa/src/panfrost/vulkan
Alejandro Piñeiro 476dc3c050 vulkan: add vk_spec_info_to_nir_spirv util method
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>
2021-07-29 03:28:52 +00:00
..
meson.build panfrost: Fork pan_pool for Gallium and Vulkan 2021-07-05 05:43:49 +00:00
panvk_cmd_buffer.c panvk: Expose panvk_cmd_alloc_fb_desc and panvk_cmd_alloc_tls_desc 2021-07-27 15:18:35 +02:00
panvk_cs.c panvk: A pipeline might not be bound when the render pass is ended 2021-07-27 15:18:34 +02:00
panvk_cs.h panvk: A pipeline might not be bound when the render pass is ended 2021-07-27 15:18:34 +02:00
panvk_descriptor_set.c panvk: Don't try to update samplers if they are immutable 2021-07-27 15:18:34 +02:00
panvk_device.c panvk: Fix sampler filter modes on Bifrost 2021-07-23 20:12:18 +00:00
panvk_formats.c
panvk_image.c
panvk_mempool.c panvk: Support returning BOs allocated by panvk_pool to a 'free BO' pool 2021-07-05 05:43:49 +00:00
panvk_mempool.h panvk: Support returning BOs allocated by panvk_pool to a 'free BO' pool 2021-07-05 05:43:49 +00:00
panvk_meta.c panvk: Implement vkCmdClearAttachments 2021-07-27 15:18:35 +02:00
panvk_pass.c
panvk_pipeline.c panfrost: Compile format table multiple times 2021-07-12 23:12:29 +00:00
panvk_pipeline_cache.c
panvk_private.h panvk: Implement vkCmdClearAttachments 2021-07-27 15:18:35 +02:00
panvk_query.c
panvk_shader.c vulkan: add vk_spec_info_to_nir_spirv util method 2021-07-29 03:28:52 +00:00
panvk_sync.c
panvk_util.c
panvk_varyings.c panfrost: Start splitting the panfrost pool logic 2021-07-05 05:43:49 +00:00
panvk_varyings.h
panvk_wsi.c
panvk_wsi_display.c
panvk_wsi_wayland.c