glsl: calculate AoA uniform offset correctly for structs
authorTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 17 Sep 2015 04:17:17 +0000 (14:17 +1000)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 15 Oct 2015 09:44:20 +0000 (20:44 +1100)
commitbe822b89ac81e1fa66dfa16d108bf1deb29d4db2
tree375f58b10236429919660628f3cc9eaed3f3cb14
parent410609c9688d3f6ad808d33928a7d9589a708a40
glsl: calculate AoA uniform offset correctly for structs

This allows the correct offset to be calculated for use in indirect
indexing of samplers.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/glsl/glsl_types.cpp