Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
b2b3d81e9bb0603f8b59e470aec3b3b513c10378
/
.
/
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
;
}