Sign in
fuchsia
/
third_party
/
glslang
/
refs/heads/upstream/GL_EXT_buffer_reference_uvec2
/
.
/
Test
/
web.basic.vert
blob: 9bc4c30fc4f7999f32dcb481aa6547d4eaf20423 [
file
] [
log
] [
blame
] [
edit
]
#version 310 es
layout
(
location
=
2
)
in
vec4 inv4
;
layout
(
location
=
1
)
out
vec4 outv4
;
layout
(
binding
=
3
)
uniform uBlock
{
vec4 a
;
ivec4 b
;
uvec4 c
;
}
uInst
;
void
main
()
{
outv4
=
normalize
(
inv4
)
*
uInst
.
a
*
vec4
(
uInst
.
b
)
*
vec4
(
uInst
.
c
);
}