summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-01-23 16:00:31 +1100
committerTimothy Arceri <[email protected]>2018-02-10 10:59:10 +1100
commit8f378c116eb226e18193583dcbf1a5a77246b507 (patch)
tree730b17204463ed5f7df5180f6287451d02490b8e /src/gallium/drivers/radeonsi
parentbc9d9f9b864efd24f0a4c65e2645f689f3ee9e79 (diff)
st/radeonsi: enable disk cache for nir
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index 97f11ea6879..31805574842 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -619,10 +619,6 @@ static void si_disk_cache_create(struct si_screen *sscreen)
if (sscreen->debug_flags & DBG_ALL_SHADERS)
return;
- /* TODO: remove this once gallium supports a nir cache */
- if (sscreen->debug_flags & DBG(NIR))
- return;
-
uint32_t mesa_timestamp;
if (disk_cache_get_function_timestamp(si_disk_cache_create,
&mesa_timestamp)) {