st: add nir shader disk cache support

Graphics / Mesa 3D Graphics Library / Mesa - Timothy Arceri [itsqueeze.com] - 9 February 2018 23:59 EST

v2: include compute shader support

bc9d9f9b86 st: add nir shader disk cache support
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 +-
src/mesa/state_tracker/st_program.c | 6 +-
src/mesa/state_tracker/st_shader_cache.c | 163 ++++++++++++++++++++++-------
src/mesa/state_tracker/st_shader_cache.h | 8 +-
4 files changed, 135 insertions(+), 44 deletions(-)

Upstream: cgit.freedesktop.org


  • Share