Remove the memory barrier again as such a guarantee is provided by vkSubmitQueue
This commit is contained in:
parent
418a76ecec
commit
6a971dbaf4
1 changed files with 0 additions and 4 deletions
|
|
@ -283,10 +283,6 @@ void VkLightmap::Render()
|
|||
}
|
||||
|
||||
#ifdef USE_DRAWINDIRECT
|
||||
PipelineBarrier()
|
||||
.AddMemory(VK_ACCESS_HOST_WRITE_BIT, VK_ACCESS_INDIRECT_COMMAND_READ_BIT)
|
||||
.Execute(cmdbuffer, VK_PIPELINE_STAGE_HOST_BIT, VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT);
|
||||
|
||||
cmdbuffer->drawIndexedIndirect(drawindexed.CommandsBuffer->buffer, 0, drawindexed.Pos, sizeof(VkDrawIndexedIndirectCommand));
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue