mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[vulkan] Add a comment about next pass timing
This commit is contained in:
parent
b1ba87e5aa
commit
eb828007e9
1 changed files with 3 additions and 0 deletions
|
@ -168,6 +168,9 @@ vulkan_R_RenderFrame (SCR_Func scr_3dfunc, SCR_Func *scr_funcs)
|
||||||
// reset for next time around
|
// reset for next time around
|
||||||
frame->cmdSets[i].size = 0;
|
frame->cmdSets[i].size = 0;
|
||||||
|
|
||||||
|
//Regardless of whether any commands were submitted for this subpass,
|
||||||
|
//must step through each and every subpass, otherwise the attachments
|
||||||
|
//won't be transitioned correctly.
|
||||||
if (i < frame->cmdSetCount - 1) {
|
if (i < frame->cmdSetCount - 1) {
|
||||||
dfunc->vkCmdNextSubpass (frame->cmdBuffer, subpassContents);
|
dfunc->vkCmdNextSubpass (frame->cmdBuffer, subpassContents);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue