RESOLVED MOVED 189017
[WHLSL] Consider letting vectors/matrices be indexed by ints
https://bugs.webkit.org/show_bug.cgi?id=189017
Summary [WHLSL] Consider letting vectors/matrices be indexed by ints
Myles C. Maxfield
Reported 2018-08-27 15:31:43 PDT
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
Myles C. Maxfield
Comment 1 2018-10-13 15:18:38 PDT
Note You need to log in before you can comment on or make changes to this bug.