glsl: move array validation into its own function
authorTimothy Arceri <t_arceri@yahoo.com.au>
Sat, 21 Feb 2015 10:47:14 +0000 (21:47 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 5 Mar 2015 20:26:41 +0000 (07:26 +1100)
commit50859c688c15bd0e98ce20fb1563e61e90aca169
tree8ce83a35ad71b4aa131f43677f106e4dd5a52080
parentaa0705c06c03d2b882ac7b185ed123bc8a10d716
glsl: move array validation into its own function

V2: return true when var->type is unsized but max access is within valid range

Reviewed-by: Mark Janes <mark.a.janes@intel.com>
src/glsl/linker.cpp
src/glsl/linker.h