Sign in
skia
/
skia
/
dda1d31623a6df7eb2b4e7c8633bd8675f333353
/
.
/
tests
/
sksl
/
inliner
/
golden
/
SwitchWithReturnInsideCannotBeInlined.glsl
blob: b5a5ef0a71e6c07441e9fae05f6aeea3e9aeb500 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform
int
value
;
vec4 switchy
(
int
v
)
{
switch
(
v
)
{
case
0
:
return
vec4
(
0.5
);
}
return
vec4
(
1.0
);
}
void
main
()
{
sk_FragColor
=
switchy
(
value
);
}