glsl: cache uniform values
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 13 Apr 2016 00:28:04 +0000 (10:28 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 17 Feb 2017 00:18:43 +0000 (11:18 +1100)
commitdc0c0c176d0b4620923182aa8709084119d8f92c
tree6abe47f06fc07252ad52d286586cc874f6d4d0f5
parent49f34390899e5507fc67ae374f9a92e4d9a9a7bb
glsl: cache uniform values

These may be lowered constant arrays or uniform values that we set before linking
so we need to cache the actual uniform values.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/shader_cache.cpp