Bug 189120

Summary: [WHLSL] Consider removing constant and device address spaces
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 176199    

Description Myles C. Maxfield 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.
Comment 1 Myles C. Maxfield 2018-10-13 14:52:39 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/60