#extension GL_EXT_texture_array : enable uniform sampler2DArray myarr; varying vec4 uv; void main () { gl_FragData[0] = ((texture2DArray (myarr, uv.xyz) + texture2DArray (myarr, uv.xyw)) + texture2DArray (myarr, uv.xyz, 1.5)); } // stats: 2 alu 3 tex 0 flow // inputs: 1 // #0: uv (high float) 4x1 [-1] // textures: 1 // #0: myarr (high 2darray) 0x0 [-1]