Bug 188685

Summary: [WHLSL] Implement native functions in the standard library rather than intrinsics
Product: WebKit Reporter: Thomas Denney <tdenney>
Component: WebGPUAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: dino, mmaxfield
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 176199    

Description Thomas Denney 2018-08-16 17:23:54 PDT
The following functions should be implemented in the standard library

* operator bool(…) for all native types
* Vector equality functions
* Swizzle getters and setters for native vector types
* All vector constructors (e.g. int4(int2, int, int))
Comment 1 Thomas Denney 2018-08-16 19:15:10 PDT
* Vector index getters and setters can be implemented in the standard library too
Comment 2 Myles C. Maxfield 2018-08-23 15:48:25 PDT

*** This bug has been marked as a duplicate of bug 188873 ***
Comment 3 Myles C. Maxfield 2018-10-13 15:30:31 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/96