Closed kvark closed 3 years ago
I looked into it, and it appears more difficult than I expected. In particular, this binding is not a part of the pipeline layout, because each pipeline, for each stage, remaps the Naga's globals to the set of indices. So it depends both on the descriptor contents and on the pipeline.
https://github.com/gfx-rs/wgpu/pull/1381 is blocked because gfx-backend-metal isn't providing a buffer for storage binding sizes. There is a draft PR #3751 that addresses this