Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
a972e73ad78904064b2155a06550fdf20fcd33b6
/
.
/
Test
/
spv.voidFunction.frag
blob: 228ea1ffdd76333966268a09edb3661cf121aec7 [
file
] [
log
] [
blame
]
#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
;
}