shader: Do not define an array when using a variable with first==last
Prevents issues when assigning them as we are relying on the size to consider it as an array.
Prevents issues when assigning them as we are relying on the size to consider it as an array.