Files
wgpu/deno_webgpu/src
Jim Blandy 9fb9dbf653 deno_webgpu: Don't confuse zero with "to the end of the buffer".
`RenderBundleEncoder::set_index_buffer` and `set_vertex_buffer`
interpret a `size` of `None` to mean "from the given offset to the end
of the buffer", but `std::num::NonZeroU64::new` produces `None` when
its argument is zero, which is quite different. Fix this similarly to
the way it's handled in `op_webgpu_render_pass_set_index_buffer`.

The WebGPU spec says this should work; filed as #3170.
2022-11-03 09:14:18 -07:00
..
2022-09-20 12:06:12 -04:00
2022-07-25 23:31:58 -04:00
2022-03-24 13:20:10 -04:00
2022-03-24 13:20:10 -04:00
2022-03-24 13:20:10 -04:00