Bug 188685
Summary: | [WHLSL] Implement native functions in the standard library rather than intrinsics | ||
---|---|---|---|
Product: | WebKit | Reporter: | Thomas Denney <tdenney> |
Component: | WebGPU | Assignee: | 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 |
Thomas Denney
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))
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Thomas Denney
* Vector index getters and setters can be implemented in the standard library too
Myles C. Maxfield
*** This bug has been marked as a duplicate of bug 188873 ***
Myles C. Maxfield
Migrated to https://github.com/gpuweb/WHLSL/issues/96