st/mesa: implement a tgsi on-disk shader cache
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 1 Feb 2017 04:52:27 +0000 (15:52 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 22 Feb 2017 22:20:22 +0000 (09:20 +1100)
commit9f506d817ee38e421d7ff3f32a28808c685f66da
tree9393dd4de35b2c73c307cad9dc7487075497a161
parentb9de1c2e0241f2ded413ac115b83f0f06788206d
st/mesa: implement a tgsi on-disk shader cache

Implements a tgsi cache for the OpenGL state tracker.

V2: add support for compute shaders

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/Makefile.sources
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_shader_cache.c [new file with mode: 0644]
src/mesa/state_tracker/st_shader_cache.h [new file with mode: 0644]