Act as if all arrays single dim for now
should be ok to just treat this as single dimension
use single dimension array values
Support only single dims in drivers fr now
glsl: fix seg fault accessing dimensions should have been num_elements
glsl: only call mark_max_array if we are assigning an array