bgfx/3rdparty/glsl-optimizer/tests/fragment/tex2DArray-out.txt

15 lines
361 B
Text
Raw Normal View History

2015-10-10 01:13:07 -04:00
#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]