glsl: fix scons builds with shader cache
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 17 Feb 2017 05:27:53 +0000 (16:27 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 17 Feb 2017 05:31:47 +0000 (16:31 +1100)
commit172c48cc15e2a7b42a7de8ff9164ad8733155667
tree8ef8c1d04cdb80f53d08ef78f08207715d668aee
parenta2bf0954fbe54d44ea8c33f71ef462dc7cda385e
glsl: fix scons builds with shader cache

For now its disabled for scons so wrap glsl cache calls in a
define conditional.
src/compiler/glsl/linker.cpp
src/mesa/program/ir_to_mesa.cpp