[Mesa-dev] [PATCH 3/4] gallium: add disk_cache_create() callback
Timothy Arceri
tarceri at itsqueeze.com
Mon Feb 20 00:15:34 UTC 2017
---
src/gallium/include/pipe/p_screen.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h
index b6203f1..43dcdf0 100644
--- a/src/gallium/include/pipe/p_screen.h
+++ b/src/gallium/include/pipe/p_screen.h
@@ -58,6 +58,7 @@ struct pipe_surface;
struct pipe_transfer;
struct pipe_box;
struct pipe_memory_info;
+struct disk_cache;
/**
@@ -318,6 +319,11 @@ struct pipe_screen {
const void *(*get_compiler_options)(struct pipe_screen *screen,
enum pipe_shader_ir ir,
unsigned shader);
+
+ /**
+ * Returns pointer to drivers on-disk shader cache.
+ */
+ struct disk_cache *(*get_disk_shader_cache)(struct pipe_screen *screen);
};
--
2.9.3
More information about the mesa-dev
mailing list