gpu: make Queue.writeTexture use a slice helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
726bdf3fba
commit
77e96864ea
2 changed files with 17 additions and 3 deletions
|
|
@ -152,6 +152,7 @@ Some WebGPU APIs expose slices as pointers and lengths, we either wrap these to
|
|||
The slice helpers are:
|
||||
|
||||
* `Adapter.enumerateFeaturesOwned`
|
||||
* `Queue.writeTexture`
|
||||
|
||||
### Typed callbacks
|
||||
|
||||
|
|
@ -219,7 +220,6 @@ The following are definitive candidates for helpers we haven't implemented yet:
|
|||
* `gpu.ComputePassEncoder.setBindGroup` (slice param)
|
||||
* `gpu.Device.enumerateFeatures` (owned slice)
|
||||
* `gpu.Queue.writeBuffer` (slices)
|
||||
* `gpu.Queue.writeTexture` (slices)
|
||||
* `gpu.RenderBundleEncoder.setBindGroup` (slice param)
|
||||
* `gpu.RenderPassEncoder.executeBundles` (slice param)
|
||||
* `gpu.RenderPassEncoder.setBindGroup` (slice param)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue