Bug 186769
| Summary: | [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 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Robin Morisset <rmorisset> |
| Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED MOVED | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 176199 | ||
Robin Morisset
```
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].
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Myles C. Maxfield
Migrated to https://github.com/gpuweb/WHLSL/issues/115