`set_index_buffer` should accept index format
Closed this issue · 3 comments
grovesNL commented
We should accept an index format in set_index_buffer
to match the upstream API https://github.com/gpuweb/gpuweb/blob/0480646a43fabd7de42d62ee394e085c8824c975/spec/index.bs#L5441
We'll need to:
- update the API to accept this
- change the native backend to use it
- update the WebIDL in wasm-bindgen and use the new signature in the web backend (we can do this after 1 and 2 are complete)
kvark commented
In addition, render pipeline descriptor should have the index format as optional.
kvark commented
Relevant gfx-rs/wgpu#978
kvark commented
Already filed upstream