mirror of
https://github.com/bevyengine/bevy
synced 2025-01-25 19:35:19 +00:00
30 lines
364 B
Text
30 lines
364 B
Text
#version 310 es
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
float fn(float x){ return x + 4.0;}
|
|
|
|
int main(){
|
|
gl_Position = vec4(1);
|
|
gl_Position = clamp(1, 2, 3);
|
|
gl_Position = vec4(1);
|
|
gl_Position = vec4(1, 2);
|
|
gl_Position = vec4(fn(3));
|
|
[]. ++ --
|
|
+ - * % / - ! ~
|
|
<< >> < > <= >=
|
|
== !=
|
|
& ^ | && ^^ || ? :
|
|
+= -= *= /= %= <<= >>= &= |= ^=
|
|
1.2 2E10 5u - 5 lf
|
|
}
|
|
|