mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
12 lines
232 B
Text
12 lines
232 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;
|
|
}
|
|
|
|
|
|
// stats: 2 alu 0 tex 0 flow
|
|
// inputs: 1
|
|
// #0: gl_FragCoord (high float) 4x1 [-1] loc 0
|