Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
shared
/
StaticSwitchWithConditionalBreakInsideBlock.glsl
blob: 20f989ebdd6ff668f32bad2c04cd9f55778f851d [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
uniform
float
unknownInput
;
void
main
()
{
float
value
=
0.0
;
switch
(
0
)
{
case
0
:
value
=
0.0
;
if
(
unknownInput
==
2.0
)
{
sk_FragColor
=
vec4
(
value
);
break
;
}
case
1
:
value
=
1.0
;
}
}