summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/ir_to_mesa.cpp
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/mesa/program/ir_to_mesa.cpp
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/mesa/program/ir_to_mesa.cpp')
0 files changed, 0 insertions, 0 deletions