aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nouveau_screen.h
diff options
context:
space:
mode:
authorBoyan Ding <[email protected]>2017-03-22 11:18:19 +0800
committerIlia Mirkin <[email protected]>2017-03-22 22:51:35 -0400
commit51b7fae1ae7f9dadd66c560072f1917302f99fde (patch)
treeacc6ed8491551296718e89a6f708ae8df0ef4b63 /src/gallium/drivers/nouveau/nouveau_screen.h
parente8875c7a87ee06b9bdd3e2b56c659672b0d733cf (diff)
nouveau: enable glsl/tgsi on-disk cache
v2: Fix argument to nouveau_screen_get_name() Signed-off-by: Boyan Ding <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_screen.h')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_screen.h b/src/gallium/drivers/nouveau/nouveau_screen.h
index 28c4760af20..e4fbae99ca4 100644
--- a/src/gallium/drivers/nouveau/nouveau_screen.h
+++ b/src/gallium/drivers/nouveau/nouveau_screen.h
@@ -2,6 +2,7 @@
#define __NOUVEAU_SCREEN_H__
#include "pipe/p_screen.h"
+#include "util/disk_cache.h"
#include "util/u_memory.h"
#ifdef DEBUG
@@ -59,6 +60,8 @@ struct nouveau_screen {
unsigned profiles_present;
} firmware_info;
+ struct disk_cache *disk_shader_cache;
+
#ifdef NOUVEAU_ENABLE_DRIVER_STATISTICS
union {
uint64_t v[29];