bgfx/3rdparty/glsl-optimizer/tests/fragment/opt-copypropelems-swizzle-in.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

8 lines
133 B
Text

varying vec2 uv;
uniform sampler2D tex;
void main() {
vec4 v = texture2D (tex, uv);
v.xy = v.yx;
v.x = -v.x;
gl_FragColor = v;
}