mesa/src/vulkan/runtime
Daniel Schürmann cbab396f54 vulkan/pipeline_cache: replace raw data objects on cache insertion of real objects
It might happen that a raw data object (from pipeline cache creation)
was never looked up, and thus never deserialized, before it gets
inserted again into the cache. In this case, the deserialized object
got replaced by the raw data object.
Instead, replace the raw data object with the real object in the cache.

Fixes: 8b13ee75ba ('vulkan: Fall back to raw data objects when deserializing if ops == NULL')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22735>
2023-05-02 14:33:56 +00:00
..
rmv vulkan: relocate rmv to its correct home 2023-03-16 08:23:28 +00:00
meson.build vulkan: Add a vk_device_memory base struct 2023-03-31 14:57:03 +00:00
vk_acceleration_structure.c vulkan: Add vk_acceleration_structure 2023-02-22 11:58:57 +00:00
vk_acceleration_structure.h vulkan: Add vk_acceleration_structure 2023-02-22 11:58:57 +00:00
vk_android.c vulkan,anv,hasvk,radv: Unify Android hardware buffer creation 2023-03-31 14:57:03 +00:00
vk_android.h vulkan,anv,hasvk,radv: Unify Android hardware buffer creation 2023-03-31 14:57:03 +00:00
vk_buffer.c vulkan/runtime: implement vkGetBufferMemoryRequirements2() 2023-03-15 00:30:35 +00:00
vk_buffer.h vulkan: Use the correct enum in vk_buffer 2022-05-30 17:43:58 +00:00
vk_cmd_copy.c vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
vk_cmd_enqueue.c vk_cmd_queue: add a callback to free push descriptors set khr 2023-01-12 01:46:26 +00:00
vk_command_buffer.c vulkan/runtime: Add VK_KHR_device_group provided entrypoints 2022-12-09 14:06:14 -06:00
vk_command_buffer.h vulkan: Add common cmd buffer state tracking 2022-11-11 05:01:24 +00:00
vk_command_pool.c vulkan: Recycle command buffers in vk_command_pool 2022-09-01 20:17:25 +00:00
vk_command_pool.h vulkan,docs: Add documentation Vulkan command pools 2022-09-01 20:17: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 vulkan/runtime: also copy strings on queue debug utils 2023-03-24 09:38:06 +02:00
vk_debug_utils.h
vk_deferred_operation.c
vk_deferred_operation.h
vk_descriptor_set_layout.c vk/descriptor_set_layout: Add optional destructor 2022-12-12 17:38:19 +00:00
vk_descriptor_set_layout.h vk/descriptor_set_layout: Add optional destructor 2022-12-12 17:38:19 +00:00
vk_descriptor_update_template.c vulkan/runtime: Compact descriptor update templates 2022-09-17 03:32:29 +00:00
vk_descriptor_update_template.h vulkan/runtime: Add a comon vk_descriptor_update_template 2022-09-17 03:32:29 +00:00
vk_descriptors.c tu,vulkan: Add common Get*OpaqueCaptureDescriptorDataEXT 2023-02-13 07:43:11 +00:00
vk_descriptors.h vulkan: prefer vulkan_core.h over vulkan.h 2023-02-15 18:35:14 +00:00
vk_device.c vulkan: Provide wrappers for VK_EXT_map_memory2 functions 2023-03-20 23:11:09 +00:00
vk_device.h vulkan: use vk_features for vk_device::enabled_features 2023-03-16 08:23:28 +00:00
vk_device_memory.c vulkan: Add a vk_device_memory base struct 2023-03-31 14:57:03 +00:00
vk_device_memory.h vulkan: Add a vk_device_memory base struct 2023-03-31 14:57:03 +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: initialize a variable 2022-09-02 00:13:27 +00:00
vk_fence.h vulkan: Replace _Alignas with alignas 2022-11-10 05:04:12 +00:00
vk_format_info_gen.py vulkan: prefer vulkan_core.h over vulkan.h 2023-02-15 18:35:14 +00:00
vk_framebuffer.c vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
vk_framebuffer.h vulkan: Fix a comment 2022-06-29 20:31:57 +00:00
vk_graphics_state.c vulkan: ignore rasterizationSamples when the state is dynamic 2023-04-14 12:26:53 +00:00
vk_graphics_state.h vulkan: Drop vk_render_pass_state::*self_dependenc* 2023-04-03 18:13:01 +00:00
vk_image.c vulkan: Add an ahardware_buffer_format field to vk_image 2023-03-31 14:57:03 +00:00
vk_image.h vulkan: Add an ahardware_buffer_format field to vk_image 2023-03-31 14:57:03 +00:00
vk_instance.c vk/runtime: Use libdrm shim 2023-03-05 16:31:51 +00:00
vk_instance.h vk/runtime: keep track of supported instance extensions 2023-02-14 23:28:29 +00:00
vk_limits.h vulkan: Add data structures to store all graphics state 2022-07-19 19:19:33 +00:00
vk_log.c util: normalize include files under src/util/*.h with util/ prefix in mesa code base 2022-11-10 06:27:25 +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 vulkan: Call gather_xfb_info in vk_spirv_to_nir 2022-07-21 21:18:48 +00:00
vk_nir.h spirv,vulkan: Set shader_info::subgroup_size 2022-07-08 22:47:22 +00:00
vk_object.c vulkan: Add a concept of recycling an object 2022-09-01 20:17:25 +00:00
vk_object.h vulkan: prefer vulkan_core.h over vulkan.h 2023-02-15 18:35:14 +00:00
vk_physical_device.c vulkan: Fix GetPhysicalDeviceSparseImageFormatProperties definition 2023-04-18 09:49:44 +00:00
vk_physical_device.h vulkan: Add common physical device management 2022-08-30 19:34:47 +00:00
vk_pipeline.c vulkan/runtime: include robustness info when hashing a shader stage 2022-10-27 08:17:11 +00:00
vk_pipeline.h vulkan/runtime: include robustness info when hashing a shader stage 2022-10-27 08:17:11 +00:00
vk_pipeline_cache.c vulkan/pipeline_cache: replace raw data objects on cache insertion of real objects 2023-05-02 14:33:56 +00:00
vk_pipeline_cache.h vulkan/pipeline_cache: add cache parameter to deserialize() function 2023-04-10 09:14:30 +00:00
vk_pipeline_layout.c vulkan: drop const for descriptor set 2022-10-21 22:36:45 +00:00
vk_pipeline_layout.h vulkan: drop const for descriptor set 2022-10-21 22:36:45 +00:00
vk_queue.c vk/runtime: Fix narrowing of timeline signal and wait value to u32. 2022-11-23 16:02:27 +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: Drop VkRenderingSelfDependencyInfoMESA 2023-04-03 18:13:01 +00:00
vk_render_pass.h vulkan: Drop VkRenderingSelfDependencyInfoMESA 2023-04-03 18:13:01 +00:00
vk_sampler.c vulkan: Add some border color helpers 2022-06-23 00:01:41 +00:00
vk_sampler.h vulkan: Add some border color helpers 2022-06-23 00:01:41 +00:00
vk_semaphore.c vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
vk_semaphore.h vulkan: Replace _Alignas with alignas 2022-11-10 05:04:12 +00:00
vk_shader_module.c vulkan: Add vk_shader_module_init 2023-03-12 13:18:15 +00:00
vk_shader_module.h vulkan: Add vk_shader_module_init 2023-03-12 13:18:15 +00:00
vk_standard_sample_locations.c vulkan: Add data structures to store all graphics state 2022-07-19 19:19:33 +00:00
vk_standard_sample_locations.h vulkan: Add standard sample locations 2022-07-19 19:19:33 +00:00
vk_sync.c utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
vk_sync.h vulkan/runtime: use updated tokens from vk.xml 2022-07-12 15:53:11 +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/runtime: Preserve pNext when upgrading to synchronization2 structs 2023-01-03 17:20:30 +00:00
vk_video.c vulkan/video: add common h264/h265 parameter set management code. 2023-01-18 06:36:27 +00:00
vk_video.h vulkan/video: add common h264/h265 parameter set management code. 2023-01-18 06:36:27 +00:00
vk_ycbcr_conversion.c vulkan,nir: Refactor ycbcr conversion state into a struct 2023-02-06 18:36:29 +00:00
vk_ycbcr_conversion.h vulkan,nir: Refactor ycbcr conversion state into a struct 2023-02-06 18:36:29 +00:00