Bug 189120

Summary: [WHLSL] Consider removing constant and device address spaces
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-29 16:31:44 PDT
Pointers and array references may refer to constant and device address spaces. HLSL represents them by distinct types, StructuredBuffer and RWStructuredBuffer. We could remove pointers in favor of slices, with * being a shorthand for [0]. This would increase compatibility with existing HLSL source.
Attachments
Myles C. Maxfield
Comment 1 2018-10-13 14:52:39 PDT
Note You need to log in before you can comment on or make changes to this bug.