From a363fa0c990284657df178b73e68d268c25069cf Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Sat, 20 May 2017 11:27:32 +1000 Subject: [PATCH] radeon: pass flags that can change shaders to disk_cache_create() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Marek Olšák --- src/gallium/drivers/radeon/r600_pipe_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index 10e9a294fbe..5460daabbb4 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.c +++ b/src/gallium/drivers/radeon/r600_pipe_common.c @@ -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); } } -- 2.30.2