Bug 186769 - [WSL] An array reference of an array cell should return a reference of length 1, not a slice to the end of the original array
Summary: [WSL] An array reference of an array cell should return a reference of length...
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 176199
  Show dependency treegraph
 
Reported: 2018-06-18 09:04 PDT by Robin Morisset
Modified: 2018-10-13 15:50 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 Robin Morisset 2018-06-18 09:04:01 PDT
```
int[3] x;
x[0] = 1;
x[1] = 3;
x[2] = 6;
thread int[] r = @x[1]; // or @(x[1])
r[1] = 5;
```
should fail, instead of resulting in x being [1;3;5].
Comment 1 Myles C. Maxfield 2018-10-13 15:50:39 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/115