Bug 189017
Summary: | [WHLSL] Consider letting vectors/matrices be indexed by ints | ||
---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
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 |
Myles C. Maxfield
float4 foo;
for (int i = 0; i < foo.length; ++i) {
foo[i] = 17;
}
doesn't typecheck because there is no float4 operator[]=(float4, int, float)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Myles C. Maxfield
Migrated to https://github.com/gpuweb/WHLSL/issues/85