glsl: allow nonconst indexing of arrays where we can work out an implicit size
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 24 Aug 2014 04:46:40 +0000 (16:46 +1200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:27 +0000 (00:59 +0200)
commitb7f98f9f094090c6e8a24407dab67e4873c68694
treedf7f579217a8221e44e3b27d9c3511cb059f679f
parent64a0ae88b971e549852348b169de48d1d0b0869d
glsl: allow nonconst indexing of arrays where we can work out an implicit size

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_array_index.cpp