2021-05-24 14:52:23 +00:00
|
|
|
uniform float unknownInput;
|
|
|
|
|
2021-02-12 14:17:53 +00:00
|
|
|
half4 main() {
|
2021-05-24 14:52:23 +00:00
|
|
|
@switch (int(unknownInput)) {
|
2020-09-17 22:20:26 +00:00
|
|
|
case 1:
|
2021-02-12 14:17:53 +00:00
|
|
|
return half4(1);
|
2020-09-17 22:20:26 +00:00
|
|
|
default:
|
2021-02-12 14:17:53 +00:00
|
|
|
return half4(0);
|
2020-09-17 22:20:26 +00:00
|
|
|
}
|
|
|
|
}
|
2022-02-08 17:19:26 +00:00
|
|
|
|
|
|
|
/*%%*
|
|
|
|
static switch has non-static test
|
|
|
|
*%%*/
|