Bug 188685 - [WHLSL] Implement native functions in the standard library rather than intrinsics
Summary: [WHLSL] Implement native functions in the standard library rather than intrin...
Status: RESOLVED DUPLICATE of bug 188873
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords:
Depends on:
Blocks: 176199
  Show dependency treegraph
 
Reported: 2018-08-16 17:23 PDT by Thomas Denney
Modified: 2018-10-13 15:30 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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