Sign in
fuchsia
/
third_party
/
glslang
/
refs/heads/upstream/GL_EXT_buffer_reference_uvec2
/
.
/
Test
/
spv.voidFunction.frag
blob: 228ea1ffdd76333966268a09edb3661cf121aec7 [
file
] [
log
] [
blame
] [
edit
]
#version 400
in
vec4 bigColor
;
in
vec4
BaseColor
;
in
float
d
;
float
bar
=
2.0
;
void
foo
()
{
bar
++;
return
;
}
void
foo2
()
{
bar
++;
}
void
main
()
{
vec4 outColor
=
bigColor
;
foo
();
foo2
();
outColor
.
x
+=
bar
;
gl_FragColor
=
outColor
;
return
;
}