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.
18 lines
200 B
GLSL
18 lines
200 B
GLSL
#version 310 es
|
|
|
|
layout(std140) uniform UBO
|
|
{
|
|
mat4 uMVP;
|
|
} _16;
|
|
|
|
in vec4 aVertex;
|
|
out vec3 vNormal;
|
|
in vec3 aNormal;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = _16.uMVP * aVertex;
|
|
vNormal = aNormal;
|
|
}
|
|
|