mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +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> (cherry picked from commitc93b179d76)
This commit is contained in:
parent
78b2fd157d
commit
22adaf8684
2 changed files with 3 additions and 1 deletions
|
|
@ -7074,7 +7074,7 @@
|
|||
"description": "vulkan: Actually increment the count of objects in GetPipelineCacheData.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "591da9877900c56434f9e23e0ad0058b118b0be8",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -737,6 +737,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