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

9 lines
132 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
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;
}