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

6 lines
129 B
Text

void main () {
vec4 c;
c.x = dot (gl_FragCoord.xyz, vec3(1.0, 2.0, 3.0));
c.yzw = vec3(4.0,5.0,6.0);
gl_FragColor = c;
}