Bug 199088

Summary: [WHLSL] Function with multiple return statements fail in the checker
Product: WebKit Reporter: Saam Barati <saam>
Component: WebGPUAssignee: Saam Barati <saam>
Status: RESOLVED INVALID    
Severity: Normal CC: dino, fpizlo, jonlee, justin_fan, mmaxfield, rmorisset
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 195681    

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.