Fix some "double-binds" of the backbuffer.

These are already eliminated by the queuerunner, but better not to
generate them in the first place, for easier sanity checks.
This commit is contained in:
Henrik Rydgård committed 2024-01-30 10:44:18 +01:00
1 parent 18ecef1aa5
commit ea180e54c9
4 files changed
+8 -2

No files matched your search

@@ -1383,6 +1383,7 @@ void VulkanRenderManager::Finish() {
EndCurRenderStep();
// Let's do just a bit of cleanup on render commands now.
// TODO: Should look into removing this.
for (auto &step : steps_) {
if (step->stepType == VKRStepType::RENDER) {
CleanupRenderCommands(&step->commands);