Bug 189065

Summary: [WHLSL] Use StructLayoutBuilder internally for vector representation
Product: WebKit Reporter: Thomas Denney <tdenney>
Component: WebGPUAssignee: 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    

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