diff options
author | Timothy Arceri <[email protected]> | 2017-05-20 11:27:32 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-05-23 09:09:43 +1000 |
commit | a363fa0c990284657df178b73e68d268c25069cf (patch) | |
tree | ccfc0133dbcd290cea3b51bfb85e2239e1cd34e1 | |
parent | 0bbcfbfc0b35c7fa59441006adb1f69519a7df8f (diff) |
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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } } |