bgfx/3rdparty/glsl-optimizer/tests/fragment/opt-copypropelems-swizzle-out.txt

20 lines
336 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
varying vec2 uv;
2014-02-11 02:06:13 -05:00
uniform sampler2D tex;
2012-04-03 23:30:07 -04:00
void main ()
{
2012-10-07 23:41:18 -04:00
vec4 v_1;
vec4 tmpvar_2;
tmpvar_2 = texture2D (tex, uv);
v_1.zw = tmpvar_2.zw;
v_1.y = tmpvar_2.x;
v_1.x = -(tmpvar_2.y);
gl_FragColor = v_1;
2012-04-03 23:30:07 -04:00
}
2014-02-11 02:06:13 -05:00
2014-10-11 15:32:43 -04:00
// stats: 1 alu 1 tex 0 flow
// inputs: 1
// #0: uv (high float) 2x1 [-1]
// textures: 1
// #0: tex (high 2d) 0x0 [-1]