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

22 lines
367 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;
2012-04-03 23:30:07 -04:00
vec4 tmpvar_2;
2012-10-07 23:41:18 -04:00
tmpvar_2 = texture2D (tex, uv);
vec4 tmpvar_3;
tmpvar_3 = tmpvar_2;
v_1 = tmpvar_3;
vec2 tmpvar_4;
tmpvar_4 = v_1.yx;
v_1.xy = tmpvar_4.xy.xy;
float tmpvar_5;
tmpvar_5 = -(v_1.x);
v_1.x = tmpvar_5;
vec4 tmpvar_6;
tmpvar_6 = v_1;
gl_FragColor = tmpvar_6;
2012-04-03 23:30:07 -04:00
}