Bug 189017

Summary: [WHLSL] Consider letting vectors/matrices be indexed by ints
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: WebGPUAssignee: 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
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.