Sign in
skia
/
skia
/
1cfab577ae8cac1689c8b32dd6a9162bb383f9b7
/
.
/
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
*%%*/