summaryrefslogtreecommitdiffstats
path: root/src/compiler/Makefile.sources
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-04-14 11:08:32 +1000
committerTimothy Arceri <[email protected]>2017-02-17 11:18:42 +1100
commit34ca0fce228224121d1a3b111c38325e731bace3 (patch)
treeec7aa9ce593e804f35a75591dda606cd4e604ada /src/compiler/Makefile.sources
parentb0232d98e9539087522040fd1882304098e0e827 (diff)
glsl: add initial implementation of shader cache
This uses disk_cache.c to write out a serialization of various state that's required in order to successfully load and use a binary written out by a drivers backend, this state is referred to as "metadata" throughout the implementation. This initial version is intended to work with all stages beside compute. This patch is based on the initial work done by Carl. V2: extend the file's doxygen comment to cover some of the design decisions. V3: - skip cache for fixed function shaders - add int64 support - fix glsl IR program parameter caching/restore and cache the parameter values which are used by gallium backends. - use new link status enum V4: - add compute program support Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/Makefile.sources')
-rw-r--r--src/compiler/Makefile.sources4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources
index a8bb4d3dda6..1e8edc08743 100644
--- a/src/compiler/Makefile.sources
+++ b/src/compiler/Makefile.sources
@@ -142,6 +142,10 @@ LIBGLSL_FILES = \
glsl/s_expression.cpp \
glsl/s_expression.h
+LIBGLSL_SHADER_CACHE_FILES = \
+ glsl/shader_cache.cpp \
+ glsl/shader_cache.h
+
# glsl_compiler
GLSL_COMPILER_CXX_FILES = \