glsl: use UniformHash to find storage location
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 27 Jul 2016 05:20:44 +0000 (15:20 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 10 Aug 2016 22:33:30 +0000 (08:33 +1000)
commit549222f5f8ef4616f5e6ddeb5c29ea6446684e5e
tree943867460a46d24bfdf9ca32c54f7e13a74b585f
parent82e153daff954a9bf09c8fb7e1adfeedb17a1fc3
glsl: use UniformHash to find storage location

There is no need to be looping over all the uniforms.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/link_uniform_initializers.cpp