From: Samuel Pitoiset Date: Mon, 20 Sep 2021 15:33:52 +0000 (+0200) Subject: radv: do not use a different disk cache key for LLVM X-Git-Tag: upstream/22.3.5~17687 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6d5cb233974ab32b8b62e5d1aff686122298150;p=platform%2Fupstream%2Fmesa.git 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 Reviewed-by: Bas Nieuwenhhuizen Part-of: --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 8376892..dad3ba0 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)