Bug 189065 - [WHLSL] Use StructLayoutBuilder internally for vector representation
Summary: [WHLSL] Use StructLayoutBuilder internally for vector representation
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 176199
  Show dependency treegraph
Reported: 2018-08-28 15:55 PDT by Thomas Denney
Modified: 2018-10-13 15:07 PDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Denney 2018-08-28 15:55:06 PDT
Vector types are just native structure types with operator.field& disabled, so most of their implementation can be done by using an hidden internal StructType and StructLayoutBuilder.
Comment 1 Thomas Denney 2018-08-28 15:55:19 PDT
Alternative to https://bugs.webkit.org/show_bug.cgi?id=188688
Comment 2 Myles C. Maxfield 2018-08-28 16:01:47 PDT
Also the implementation of texturing functions should use this.
Comment 3 Myles C. Maxfield 2018-10-13 15:07:17 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/74