Module: Mesa Branch: main Commit: f6d5cb233974ab32b8b62e5d1aff686122298150 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6d5cb233974ab32b8b62e5d1aff686122298150
Author: Samuel Pitoiset <[email protected]> Date: Mon Sep 20 17:33:52 2021 +0200 radv: do not use a different disk cache key for LLVM The driver already adds a pipeline hash for LLVM which is redundant. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12938> --- src/amd/vulkan/radv_device.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 83768929c38..dad3ba0bef9 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -663,15 +663,12 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm goto fail_wsi; } - /* These flags affect shader compilation. */ - uint64_t shader_env_flags = (device->use_llvm ? 0 : 0x2); - /* The gpu id is already embedded in the uuid so we just pass "radv" * when creating the cache. */ char buf[VK_UUID_SIZE * 2 + 1]; disk_cache_format_hex_id(buf, device->cache_uuid, VK_UUID_SIZE * 2); - device->disk_cache = disk_cache_create(device->name, buf, shader_env_flags); + device->disk_cache = disk_cache_create(device->name, buf, 0); #endif if (device->rad_info.chip_class < GFX8 || device->rad_info.chip_class > GFX10)
