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:
Rhys Perry 2026-04-24 12:49:13 +01:00 committed by Marge Bot
parent 6e06012825
commit 268dba8c48

View file

@ -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);