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    

Thomas Denney
Reported 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.
Attachments
Thomas Denney
Comment 1 2018-08-28 15:55:19 PDT
Myles C. Maxfield
Comment 2 2018-08-28 16:01:47 PDT
Also the implementation of texturing functions should use this.
Myles C. Maxfield
Comment 3 2018-10-13 15:07:17 PDT
Note You need to log in before you can comment on or make changes to this bug.