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

9 lines
140 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
void main ()
{
2012-10-07 23:41:18 -04:00
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;
2012-04-03 23:30:07 -04:00
}