mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
vulkan: Actually increment the count of objects in GetPipelineCacheData.
Otherwise a load of the cache won't load any of the objects in it!
Fixes: 591da98779 ("vulkan: Add a common VkPipelineCache implementation")
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22700>
This commit is contained in:
parent
bc257928d7
commit
c93b179d76
1 changed files with 2 additions and 0 deletions
|
|
@ -733,6 +733,8 @@ vk_common_GetPipelineCacheData(VkDevice _device,
|
|||
|
||||
assert(data_size_resv >= 0);
|
||||
blob_overwrite_uint32(&blob, data_size_resv, data_size);
|
||||
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue