33a849e004
This used to work by luck because the current DGC prepare shader is using one descriptor set and it was the currently bound compute shader... Using two descriptor sets or starting from 1 would just fail. For indirect compute pipelines, descriptors must be emitted from the DGC shader because there is no bound compute pipeline at all. This solution is using indirect descriptor sets because it's much shorter and easier to implement. This could be improved but nothing uses indirect compute pipelines and this is like experimental stuff. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29700>