v3dv: reset subpass index at render pass end

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
Iago Toral Quiroga
2020-04-21 14:00:32 +02:00
committed by Marge Bot
parent 30f1fc25ce
commit bd53ee6247
+2 -1
View File
@@ -1843,8 +1843,9 @@ v3dv_CmdEndRenderPass(VkCommandBuffer commandBuffer)
}
/* We are no longer inside a render pass */
state->pass = NULL;
state->framebuffer = NULL;
state->pass = NULL;
state->subpass_idx = -1;
}
VkResult