Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
62db68aad1a09b292d96b33e60c9d07cc9f8d02d
/
.
/
tests
/
sksl
/
inliner
/
golden
/
SwitchWithoutReturnInsideCanBeInlined.glsl
blob: 887a166966ffa589ef0c0212af352b20d8cae341 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform
int
value
;
void
main
()
{
vec4 _0_switchy
;
vec4 _1_result
=
vec4
(
1.0
);
switch
(
value
)
{
case
0
:
_1_result
=
vec4
(
0.5
);
}
_0_switchy
=
_1_result
;
sk_FragColor
=
_0_switchy
;
}