glsl: always write a name/label string to the cache
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 11 Aug 2017 04:59:02 +0000 (14:59 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 24 Aug 2017 01:18:48 +0000 (11:18 +1000)
commit44918a197905e4e9d09e32b7d07945948ca2da07
tree5e9c6c5104dba6a093b4f2c23a7208f21ec1987e
parent22154823d21f17a5fdff7b1fe3c92b61f5389d88
glsl: always write a name/label string to the cache

In the following patch we will stop writing the pointer to cache.

Unfortunately adding empty strings to that cache seems to be the
only thing we can do here once we no longer have the pointers.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/compiler/glsl/shader_cache.cpp