mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
17 lines
303 B
Text
17 lines
303 B
Text
|
void main ()
|
||
|
{
|
||
|
vec4 c;
|
||
|
float tmpvar_1;
|
||
|
tmpvar_1 = dot (gl_FragCoord.xyz, vec3(1.0, 2.0, 3.0));
|
||
|
float tmpvar_2;
|
||
|
tmpvar_2 = tmpvar_1;
|
||
|
c.x = tmpvar_2;
|
||
|
vec3 tmpvar_3;
|
||
|
tmpvar_3 = vec3(4.0, 5.0, 6.0);
|
||
|
c.yzw = tmpvar_3.xxyz.yzw;
|
||
|
vec4 tmpvar_4;
|
||
|
tmpvar_4 = c;
|
||
|
gl_FragColor = tmpvar_4;
|
||
|
}
|
||
|
|