Sign in
skia
/
skia
/
0f46450775492febbf2c6ab9d7a6740d870d16ac
/
.
/
tests
/
sksl
/
inliner
/
golden
/
SwitchWithoutReturnInsideCanBeInlined.glsl
blob: 0c2a1aa020d119e8a2fcc5f9d0381c4e51351a74 [
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
;
}