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