util/disk_cache: add new driver_flags param to cache keys
authorTimothy Arceri <tarceri@itsqueeze.com>
Sat, 20 May 2017 01:06:25 +0000 (11:06 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 22 May 2017 23:09:43 +0000 (09:09 +1000)
commit0bbcfbfc0b35c7fa59441006adb1f69519a7df8f
treeba4aa3c4990f96b8cf184a5e554b58e0d3c0c57d
parentd970f773f4d72814721f6f58a71c307a608ab30d
util/disk_cache: add new driver_flags param to cache keys

This will be used for things such as adding driver specific environment
variables to the key. Allowing us to set environment vars that change
the shader and not have the driver ignore them if it finds existing
shaders in the cache.

Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/compiler/glsl/tests/cache_test.c
src/gallium/drivers/nouveau/nouveau_screen.c
src/gallium/drivers/radeon/r600_pipe_common.c
src/util/disk_cache.c
src/util/disk_cache.h