bgfx/3rdparty/glsl-optimizer/tests/fragment/tex2DArray-out.txt
2015-10-09 22:13:07 -07:00

14 lines
361 B
Text

#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]