I don't know if this is a complete fix, but these are the changes that I found to fix the most common case:
void StreamEncoder::CmdBeginRenderPass(const VezRenderPassBeginInfo* pBeginInfo)
SubpassDesc firstSubpass = {};
for (auto i = 0U; i < pBeginInfo->attachmentCount; ++i)
{
........
// This is a condition that should at least mark the output attachment... right?
if ( attachment.loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR && attachment.storeOp == VK_ATTACHMENT_STORE_OP_STORE )
{
firstSubpass.outputAttachments.emplace( i );
}
}
I know this is not a maintained project anymore, I'm adding on the off chance someone else has a similar issue or knows more and wants to weigh in on this change.
I don't know if this is a complete fix, but these are the changes that I found to fix the most common case:
I know this is not a maintained project anymore, I'm adding on the off chance someone else has a similar issue or knows more and wants to weigh in on this change.