glsl: stop adding pointers from glsl_struct_field to the cache
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 11 Aug 2017 04:01:34 +0000 (14:01 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 24 Aug 2017 01:18:48 +0000 (11:18 +1000)
commit073a84ff60dbaef6331e2bcd8f5ca2de0b2ff7d2
tree887417a706c48e004a1d02ddd19367647125f5d8
parent37d453b55a7b4c1b10d28dba4acfe12de4634bc8
glsl: stop adding pointers from glsl_struct_field to the cache

This is so we always create reproducible cache entries. Consistency
is required for verification of any third party distributed shaders.

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