Sign in
skia
/
skia.git
/
1456aff211ca1d3c0489365aa35b761041b56bcc
/
.
/
tests
/
sksl
/
shared
/
StaticSwitchWithConditionalBreak.glsl
blob: 4fb783b831ee0d2202eb167602112a2d50bb3c96 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
void
main
()
{
float
x
=
0.0
;
switch
(
0
)
{
case
0
:
x
=
0.0
;
if
(
x
<
sqrt
(
1.0
))
break
;
case
1
:
x
=
1.0
;
}
sk_FragColor
=
vec4
(
x
);
}