Sign in
skia
/
skia
/
04ca41acf341a462927123cbfdf432cbc0d6df5d
/
.
/
tests
/
sksl
/
inliner
/
SwitchWithoutReturnInsideCanBeInlined.glsl
blob: 46d8298fc0ef9baeae433b9d2b3fbe010fe5ac93 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform
int
value
;
void
main
()
{
vec4 _1_result
=
vec4
(
1.0
);
switch
(
value
)
{
case
0
:
_1_result
=
vec4
(
0.5
);
}
sk_FragColor
=
_1_result
;
}