|Summary:||[WHLSL] Consider removing constant and device address spaces|
|Product:||WebKit||Reporter:||Myles C. Maxfield <mmaxfield>|
|Version:||WebKit Nightly Build|
|Bug Depends on:|
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 . This would increase compatibility with existing HLSL source.