Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skia
/
03467a53e6d0bde8006f1b930b9eb3fb9d6c51d4
/
.
/
tests
/
sksl
/
shared
/
StaticSwitchWithConditionalBreak.glsl
blob: 3bb6041652b4f5fc285e399b4780747fb6c391a5 [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
void
main
()
{
float
x
=
0.0
;
switch
(
0
)
{
case
0
:
x
=
0.0
;
if
(
0.0
<
sqrt
(
1.0
))
break
;
case
1
:
x
=
1.0
;
}
sk_FragColor
=
vec4
(
x
);
}