diff options
author | Timothy Arceri <[email protected]> | 2017-11-13 11:34:31 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-11-15 08:47:31 +1100 |
commit | 5041ea96a0544283c3cf3885d6e2d2d0ba4857f5 (patch) | |
tree | 013b4013f25ee9155f918b0eb6475b358605cdb6 /src/gallium | |
parent | 7273e9820e19130fe7f09b92e808fc4473839ab1 (diff) |
gallium/radeon: disable the cache when nir backend enabled
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index 68bde2ad18a..ce612113c51 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.c +++ b/src/gallium/drivers/radeon/r600_pipe_common.c @@ -689,6 +689,10 @@ static void r600_disk_cache_create(struct r600_common_screen *rscreen) if (rscreen->debug_flags & DBG_ALL_SHADERS) return; + /* TODO: remove this once gallium supports a nir cache */ + if (rscreen->debug_flags & DBG(NIR)) + return; + uint32_t mesa_timestamp; if (disk_cache_get_function_timestamp(r600_disk_cache_create, &mesa_timestamp)) { |