kpreid / all-is-cubes

Yet another block/voxel game; in this one the blocks are made out of blocks. Runs in browsers on WebGL+WebAssembly.
https://kpreid.dreamwidth.org/tag/all+is+cubes
Apache License 2.0
147 stars 8 forks source link

Use a new `wgpu::Adapter` for each `wgpu::Device`. #496

Closed kpreid closed 1 month ago

kpreid commented 1 month ago

This obeys the rules for requestDevice() in the WebGPU specification, which wgpu does not yet enforce but may in a future version.

Only tests and headless::Builder are affected.