e67f6f85a4
Previously, we would generate parentheses proactively when generating binary ops, however, this leads to uglier code and hits warnings in compilers when used as a conditional.
8 lines
121 B
Plaintext
8 lines
121 B
Plaintext
#version 310 es
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(1.0, 2.0, 3.0, 4.0) * float(gl_VertexIndex + gl_InstanceIndex);
|
|
}
|
|
|