glsl: Keep track of which dimension the ir_rvalue represents so we can validate
the rest of dimesions. Still not sure if I'm doing things right here will need to wait
until things are compiling properly before I can test this out