bgfx/3rdparty/glsl-optimizer/tests/fragment/swizzle-writemask-out.txt
2014-10-11 12:32:43 -07:00

13 lines
232 B
Plaintext

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;
}
// stats: 2 alu 0 tex 0 flow
// inputs: 1
// #0: gl_FragCoord (high float) 4x1 [-1] loc 0