Skip to content

radv: Improved implementation of chaining, remove chained submit code path.

Timur Kristóf requested to merge Venemo/mesa:radv_chain into main

RADV had a separate "chained" submission code path. This meant that either all cmdbufs were chained together or none.

With this MR, it is now possible to chain the cmdbufs that allow it while still leaving alone those that are shared (and therefore can't be chained). This is beneficial for a few reasons:

  • We can now support chaining cmdbufs with gang submit, which was not possible before.
  • When only a few (but not all) command buffers have the simultaneous use bit, we can still chain the rest of them. This is the case for all VKD3D-Proton games, for example.
  • Eliminate a separate submission code path, which should make this code more maintainable.
Edited by Timur Kristóf

Merge request reports