glsl: fix segfault when indirect indexing a buffer variable which is an array
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Mon, 19 Oct 2015 08:37:14 +0000 (10:37 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Mon, 19 Oct 2015 09:16:50 +0000 (11:16 +0200)
commit6f3954618b0fe273af76af79ce9ec56566b79b2a
treedea06bc802c2861b03ac054e4faf7d0a2c333ff4
parentb0a44f1017be51c3eb612da2a6ccd5df5695c25a
glsl: fix segfault when indirect indexing a buffer variable which is an array

Fixes a regression added by bb5aeb854915ba67abc56257f830d002c956439e.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/glsl/lower_ubo_reference.cpp