RESOLVED INVALID 199088
[WHLSL] Function with multiple return statements fail in the checker
https://bugs.webkit.org/show_bug.cgi?id=199088
Summary [WHLSL] Function with multiple return statements fail in the checker
Saam Barati
Reported 2019-06-20 16:25:08 PDT
e.g, ``` struct Foo { int x; int y; } int foo(thread Foo* foo, uint index) { if (index == 0) return foo->x; return foo->y; } ```
Attachments
Saam Barati
Comment 1 2019-06-20 16:35:02 PDT
Please ignore, this was a case of not having "native bool operator==(uint, uint);" in the standard library. :-(
Note You need to log in before you can comment on or make changes to this bug.