Bug 177341
Summary: | WSL should support slicing array refs into smaller array refs | ||
---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED MOVED | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 176199 |
Myles C. Maxfield
Something like float[] a = @b[i...j];
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Myles C. Maxfield
The offset-of-the-slice would follow the slice, and we would emit an add instruction anytime anyone access a slice.
Myles C. Maxfield
Migrated to https://github.com/gpuweb/WHLSL/issues/175