[WebGPU] Bindings part 2: Bring back Buffer bindings code
Created attachment 442966 [details] Patch
Created attachment 442967 [details] Patch
Comment on attachment 442967 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=442967&action=review > Source/WebCore/Modules/WebGPU/GPUBufferUsage.h:33 > +using GPUBufferUsageFlags = uint32_t; It looks like this could currently be uint16_t
Comment on attachment 442967 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=442967&action=review > Source/WebCore/Modules/WebGPU/GPUBufferUsage.idl:32 > +interface GPUBufferUsage { This should be SecureContext > Source/WebCore/Modules/WebGPU/GPUMapMode.idl:32 > +interface GPUMapMode { Ditto.
Comment on attachment 442967 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=442967&action=review >> Source/WebCore/Modules/WebGPU/GPUBufferUsage.h:33 >> +using GPUBufferUsageFlags = uint32_t; > > It looks like this could currently be uint16_t The IDL has typedef [EnforceRange] unsigned long GPUBufferUsageFlags; I don't think we should deviate from that.
Committed r285377 (243934@main): <https://commits.webkit.org/243934@main>
<rdar://problem/85104537>