Sign in
fuchsia
/
third_party
/
spirv-cross
/
refs/tags/2020-05-19
/
.
/
shaders
/
vert
/
basic.vert
blob: 2c75d44a4368be72937fd9ee74594e46b3dbd0fd [
file
] [
log
] [
blame
]
#version 310 es
layout
(
std140
)
uniform UBO
{
uniform mat4 uMVP
;
};
layout
(
location
=
0
)
in
vec4 aVertex
;
layout
(
location
=
1
)
in
vec3 aNormal
;
layout
(
location
=
0
)
out
vec3 vNormal
;
void
main
()
{
gl_Position
=
uMVP
*
aVertex
;
vNormal
=
aNormal
;
}