radeon: pass flags that can change shaders to disk_cache_create()
I wasn't sure if I should filter the flags so that we only use flags that actually change the shader output. To avoid manual updates we just pass in everything for now. Reviewed-by: Eduardo Lima Mitev <elima@igalia.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
@@ -868,7 +868,8 @@ static void r600_disk_cache_create(struct r600_common_screen *rscreen)
|
||||
if (res != -1) {
|
||||
rscreen->disk_shader_cache =
|
||||
disk_cache_create(r600_get_chip_name(rscreen),
|
||||
timestamp_str, 0);
|
||||
timestamp_str,
|
||||
rscreen->debug_flags);
|
||||
free(timestamp_str);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user