Bug 189065
| Summary: | [WHLSL] Use StructLayoutBuilder internally for vector representation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Thomas Denney <tdenney> |
| Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED MOVED | ||
| Severity: | Normal | CC: | dino, mmaxfield, tdenney |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 176199 | ||
Thomas Denney
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Thomas Denney
Alternative to https://bugs.webkit.org/show_bug.cgi?id=188688
Myles C. Maxfield
Also the implementation of texturing functions should use this.
Myles C. Maxfield
Migrated to https://github.com/gpuweb/WHLSL/issues/74