Sign in
skia
/
skia
/
437cd4d85737039dd9719667905832982b843574
/
.
/
resources
/
sksl
/
errors
/
StaticSwitchTest.sksl
blob: 9ce1506271f1aab24a0d1430b65345ce42aca3c7 [
file
] [
log
] [
blame
]
uniform
float
unknownInput
;
half4 main
()
{
@switch
(
int
(
unknownInput
))
{
case
1
:
return
half4
(
1
);
default
:
return
half4
(
0
);
}
}
/*%%*
static switch has non-static test
*%%*/