mesa/src/vulkan/runtime
Jason Ekstrand d35e78bb85 vulkan/pipeline_cache: Implement deserialize for raw objects
When caching NIR, it's cached as a raw object because we cache the
serialized NIR.  When it's then loaded from the disk cache later, we
fail to deserialize it because raw objects are a special case.  There
are two callers of vk_pipeline_cache_object_deserialize(), one of which
has a special case for raw objects and the other is called only when
we've checked that it isn't a raw object.  The special cases are
pointless; raw objects should deserialize themselves.

Fixes: 591da98779 ("vulkan: Add a common VkPipelineCache implementation")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16281>
2022-05-18 04:43:10 +00:00
..
meson.build vulkan: drop empty vulkan_wsi_args 2022-04-27 11:51:26 +00:00
vk_android.c radv: Move QueueSignalReleaseImageANDROID to common code 2022-01-05 16:36:10 +00:00
vk_cmd_copy.c
vk_cmd_enqueue.c vulkan/cmd_queue: Fix the allocation scope 2022-03-18 17:29:16 +00:00
vk_command_buffer.c vulkan/runtime: Add emulated secondary command buffer support 2022-03-18 17:29:16 +00:00
vk_command_buffer.h vulkan: Add a common CmdBegin/EndRederPass implementation 2022-03-16 12:51:15 -05:00
vk_command_pool.c vulkan: Implement of a bunch of VkCommandPool functions 2022-02-11 08:06:25 +00:00
vk_command_pool.h vulkan: Implement of a bunch of VkCommandPool functions 2022-02-11 08:06:25 +00:00
vk_debug_report.c vulkan: explicitly cast object-type enum 2022-04-19 06:54:47 +00:00
vk_debug_report.h
vk_debug_utils.c
vk_debug_utils.h
vk_deferred_operation.c
vk_deferred_operation.h
vk_descriptors.c
vk_descriptors.h
vk_device.c vulkan: Start collecting enabled features in vk_device 2022-05-12 10:53:16 +00:00
vk_device.h vulkan: Start collecting enabled features in vk_device 2022-05-12 10:53:16 +00:00
vk_drm_syncobj.c vulkan/drm_syncobj: Implement WAIT_PENDING with a sync_file lookup 2022-04-13 17:22:14 +00:00
vk_drm_syncobj.h vulkan,anv: Auto-detect syncobj features 2021-11-16 10:54:27 -06:00
vk_fence.c vulkan: Replace various uses of device->timeline_mode 2022-03-30 23:17:56 +00:00
vk_fence.h vulkan: Add a common implementation of VkFence 2021-11-16 10:02:08 -06:00
vk_framebuffer.c vulkan/framebuffer: Add a flags field 2022-03-16 12:51:15 -05:00
vk_framebuffer.h vulkan/framebuffer: Add a flags field 2022-03-16 12:51:15 -05:00
vk_image.c vulkan,v3dv: Add a driver_internal flag to vk_image_view_init/create 2022-05-17 18:14:55 +00:00
vk_image.h vulkan,v3dv: Add a driver_internal flag to vk_image_view_init/create 2022-05-17 18:14:55 +00:00
vk_instance.c vulkan/runtime: Validate instance version on 1.0 implementations 2021-12-20 16:45:55 +00:00
vk_instance.h vulkan,docs: Document vk_instance 2022-04-07 16:32:21 +00:00
vk_log.c vulkan/log: Allow but warn for client-invisible objects 2022-04-26 16:22:23 +00:00
vk_log.h vulkan/util: Add extern "C" to allow inclusion from c++ 2022-02-04 10:16:42 +00:00
vk_nir.c nir: add a nir_remove_non_entrypoints helper 2022-05-10 03:37:44 +00:00
vk_nir.h vulkan: Add a vk_shader_module_to_nir() helper 2022-03-15 23:13:16 +00:00
vk_object.c vulkan: vk_object_base_init/finish have no unused parameters 2022-04-07 16:32:21 +00:00
vk_object.h vulkan,docs: Document vk_object_base 2022-04-07 16:32:21 +00:00
vk_physical_device.c vulkan: Add a common VkPipelineCache implementation 2022-04-22 19:38:52 +00:00
vk_physical_device.h vulkan: Add a common VkPipelineCache implementation 2022-04-22 19:38:52 +00:00
vk_physical_device_features.py
vk_pipeline_cache.c vulkan/pipeline_cache: Implement deserialize for raw objects 2022-05-18 04:43:10 +00:00
vk_pipeline_cache.h vulkan/runtime: 0-out pipeline cache object 2022-05-02 19:02:42 +00:00
vk_queue.c vulkan: Use ALL_COMMANDS_BIT for waits/signals instead of ~0 2022-04-26 14:17:28 +00:00
vk_queue.h vulkan: Allow the driver to manually enable threaded submit 2022-03-30 23:17:56 +00:00
vk_render_pass.c vulkan: Add more VU comments to justify framebuffer asserts 2022-03-30 20:43:12 +00:00
vk_render_pass.h vulkan/render_pass: Add an optimization for UNDEFINED+LOAD_OP_CLEAR 2022-03-16 12:51:15 -05:00
vk_semaphore.c vulkan: Replace various uses of device->timeline_mode 2022-03-30 23:17:56 +00:00
vk_semaphore.h vulkan: Add a common implementation of VkSemaphore 2021-11-16 10:54:27 -06:00
vk_shader_module.c vulkan: Add a shader module clone helper 2022-04-26 18:20:11 +00:00
vk_shader_module.h vulkan: Add a shader module clone helper 2022-04-26 18:20:11 +00:00
vk_sync.c vulkan/sync: Rework asserts a bit 2021-11-17 16:52:29 +00:00
vk_sync.h vulkan: fix typo 2022-01-13 04:01:44 +00:00
vk_sync_binary.c vulkan: Add an emulated binary vk_sync type 2021-11-16 10:54:27 -06:00
vk_sync_binary.h vulkan: Add an emulated binary vk_sync type 2021-11-16 10:54:27 -06:00
vk_sync_dummy.c vulkan: Add a dummy sync type 2021-11-16 10:54:27 -06:00
vk_sync_dummy.h vulkan: Add a dummy sync type 2021-11-16 10:54:27 -06:00
vk_sync_timeline.c vulkan: Use timespec_add_nsec in vk_sync_timeline 2022-04-06 00:38:22 +00:00
vk_sync_timeline.h vulkan: Add an emulated timeline sync type 2021-11-16 10:02:08 -06:00
vk_synchronization2.c vulkan: Set signals[i].stageMask = ALL_COMMANDS for QueueSubmit2 wrapping 2022-04-26 14:17:28 +00:00