Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
shared
/
StaticSwitchWithStaticConditionalBreak.glsl
blob: 74475f1c74184c9f12c03ac393dcd7c02420b18b [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
void
main
()
{
float
x
=
0.0
;
switch
(
0
)
{
case
0
:
x
=
0.0
;
if
(
x
<
1.0
)
break
;
case
1
:
x
=
1.0
;
}
sk_FragColor
=
vec4
(
x
);
}