bgfx/3rdparty/glsl-optimizer/tests/fragment/swizzle-writemask-out.txt
2012-10-07 20:41:18 -07:00

8 lines
140 B
Text

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