blob: bf71f864f6481a03b1fd4c7269f808f33d267532 [file] [log] [blame]
John Stilesbb1505f2021-02-12 09:17:53 -05001half4 main() {
John Stiles6798e5d2020-09-17 18:20:26 -04002 int x = int(sqrt(1));
3 @switch (x) {
4 case 1:
John Stilesbb1505f2021-02-12 09:17:53 -05005 return half4(1);
John Stiles6798e5d2020-09-17 18:20:26 -04006 default:
John Stilesbb1505f2021-02-12 09:17:53 -05007 return half4(0);
John Stiles6798e5d2020-09-17 18:20:26 -04008 }
9}