Can I always assume that in case of uniform arrays (especially samplers) all subsequent elements have their location incremented by 1 from base element or is it compiler dependent and I have to keep trace of locations for all array elements?
Example :
in fragment shader
{
uniform sampler2D s_texture[3]
}