mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
radv: don't pass GPU name to disk_cache_create
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41340>
This commit is contained in:
parent
6e06012825
commit
268dba8c48
1 changed files with 2 additions and 2 deletions
|
|
@ -2687,10 +2687,10 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm
|
|||
*/
|
||||
char buf[VK_UUID_SIZE * 2 + 1];
|
||||
mesa_bytes_to_hex(buf, pdev->cache_uuid, VK_UUID_SIZE);
|
||||
pdev->vk.disk_cache = disk_cache_create(pdev->name, buf, 0);
|
||||
pdev->vk.disk_cache = disk_cache_create("RADV", buf, 0);
|
||||
|
||||
pdev->disk_cache_meta =
|
||||
disk_cache_create_custom(pdev->name, buf, 0, "radv_builtin_shaders", 1024 * 1024 * 32 /* 32MiB */);
|
||||
disk_cache_create_custom("RADV", buf, 0, "radv_builtin_shaders", 1024 * 1024 * 32 /* 32MiB */);
|
||||
|
||||
radv_get_physical_device_properties(pdev);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue