Bug 177341 - WSL should support slicing array refs into smaller array refs
Summary: WSL should support slicing array refs into smaller array refs
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 176199
  Show dependency treegraph
 
Reported: 2017-09-21 20:54 PDT by Myles C. Maxfield
Modified: 2018-10-13 19:30 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2017-09-21 20:54:09 PDT
Something like float[] a = @b[i...j];
Comment 1 Myles C. Maxfield 2017-09-21 21:08:34 PDT
The offset-of-the-slice would follow the slice, and we would emit an add instruction anytime anyone access a slice.
Comment 2 Myles C. Maxfield 2018-10-13 19:30:13 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/175