Wait for both graphics and copy on barriers.

This commit is contained in:
Skyth 2024-10-08 00:05:40 +03:00
parent c2ca5dcdad
commit 87daa6067e

View file

@ -271,7 +271,7 @@ static void FlushBarriers()
{
if (!g_barriers.empty())
{
g_commandLists[g_frame]->barriers(RenderBarrierStage::GRAPHICS, g_barriers);
g_commandLists[g_frame]->barriers(RenderBarrierStage::GRAPHICS | RenderBarrierStage::COPY, g_barriers);
g_barriers.clear();
}
}