From 0bbcfbfc0b35c7fa59441006adb1f69519a7df8f Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Sat, 20 May 2017 11:06:25 +1000 Subject: util/disk_cache: add new driver_flags param to cache keys This will be used for things such as adding driver specific environment variables to the key. Allowing us to set environment vars that change the shader and not have the driver ignore them if it finds existing shaders in the cache. Reviewed-by: Eduardo Lima Mitev --- src/gallium/drivers/nouveau/nouveau_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/nouveau') diff --git a/src/gallium/drivers/nouveau/nouveau_screen.c b/src/gallium/drivers/nouveau/nouveau_screen.c index 15cb965453a..13b76d76816 100644 --- a/src/gallium/drivers/nouveau/nouveau_screen.c +++ b/src/gallium/drivers/nouveau/nouveau_screen.c @@ -158,7 +158,7 @@ nouveau_disk_cache_create(struct nouveau_screen *screen) if (res != -1) { screen->disk_shader_cache = disk_cache_create(nouveau_screen_get_name(&screen->base), - timestamp_str); + timestamp_str, 0); free(timestamp_str); } } -- cgit v1.2.3