glsl: pass shader source keys to the disk cache
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 23 Aug 2017 06:33:00 +0000 (16:33 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 25 Aug 2017 03:20:29 +0000 (13:20 +1000)
commitea2515d780a40599036ff50b572d309e69635d20
tree59e522c374888ab726219ac72bfb5b81537fcd0b
parent07018d49dc95b0a9cf7b22c33af2286c36583e82
glsl: pass shader source keys to the disk cache

We don't actually write them to disk here. That will happen in the
following commit.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/shader_cache.cpp
src/compiler/glsl/tests/cache_test.c
src/gallium/drivers/radeonsi/si_state_shaders.c
src/mesa/state_tracker/st_shader_cache.c
src/util/disk_cache.c
src/util/disk_cache.h