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