Sign in
fuchsia
/
third_party
/
spirv-cross
/
refs/tags/2018-08-07
/
.
/
shaders-msl
/
frag
/
binary-func-unpack-pack-arguments.frag
blob: c0e5dabd2b687fe5cc0db591309faa0bbb83c563 [
file
] [
log
] [
blame
]
#version 450
layout
(
location
=
0
)
out
float
FragColor
;
layout
(
binding
=
0
,
std140
)
uniform UBO
{
vec3 color
;
float
v
;
};
layout
(
location
=
0
)
in
vec3 vIn
;
void
main
()
{
FragColor
=
dot
(
vIn
,
color
);
}