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