gpu: make Queue.writeBuffer use a slice helper

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-11 06:17:38 -07:00 committed by Stephen Gutekanst
parent 77e96864ea
commit 9ed542bd7e
2 changed files with 17 additions and 7 deletions

View file

@ -153,6 +153,7 @@ The slice helpers are:
* `Adapter.enumerateFeaturesOwned`
* `Queue.writeTexture`
* `Queue.writeBuffer`
### Typed callbacks
@ -219,7 +220,6 @@ The following are definitive candidates for helpers we haven't implemented yet:
* `gpu.CommandEncoder.writeBuffer` (slices)
* `gpu.ComputePassEncoder.setBindGroup` (slice param)
* `gpu.Device.enumerateFeatures` (owned slice)
* `gpu.Queue.writeBuffer` (slices)
* `gpu.RenderBundleEncoder.setBindGroup` (slice param)
* `gpu.RenderPassEncoder.executeBundles` (slice param)
* `gpu.RenderPassEncoder.setBindGroup` (slice param)