Bug 189120 - [WHLSL] Consider removing constant and device address spaces
Summary: [WHLSL] Consider removing constant and device address spaces
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 176199
  Show dependency treegraph
Reported: 2018-08-29 16:31 PDT by Myles C. Maxfield
Modified: 2018-10-13 14:52 PDT (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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