summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/etnaviv/etnaviv_compiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_compiler.c')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_compiler.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_compiler.c b/src/gallium/drivers/etnaviv/etnaviv_compiler.c
index 0cb07c03cd7..119a0e21e41 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_compiler.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_compiler.c
@@ -27,10 +27,11 @@
#include "etnaviv_compiler.h"
#include "etnaviv_compiler_nir.h"
#include "etnaviv_debug.h"
+#include "etnaviv_disk_cache.h"
#include "util/ralloc.h"
struct etna_compiler *
-etna_compiler_create(void)
+etna_compiler_create(const char *renderer)
{
struct etna_compiler *compiler = rzalloc(NULL, struct etna_compiler);
@@ -43,6 +44,8 @@ etna_compiler_create(void)
compiler = NULL;
}
+ etna_disk_cache_init(compiler, renderer);
+
return compiler;
}