Wrapping modes for TEXTURE_2D

I am using texture wrapping modes in my code with tex cords ranging from 0-2. I am getting different output on driver A and B. I am bit confused about which one is correct. I am attaching images in which I have used GL_CLAMP_TO_EDGE. It is brick wall texture.


second one is correct, if clamping is enabled for both S(x) and T(y) axes. first one is correct, if you enabled clamping only for S(x) axis.