Posts

Post not yet marked as solved
1 Replies
625 Views
Ok, I have checked through the sample project for BasicIndirectCommandBuffers and I am trying to see if the code works on my own project. The differences are that I am using offscreen render surface, index buffers, multiple render targets, "Vertex vert [[ stage_in ]]" syntax, and texture inputs. I have also removed the texture inputs temporarily. However, after many attempts, I am still getting such errors:Execution of the command buffer was aborted due to an error during execution. Discarded (victim of GPU error/recovery) (IOAF code 5)Before I try adding indirect command buffers, my project works well without them. There were no such errors.Additionally, I am also using multi-core to do buffer updates. I noticed that some frames did not have such errors too, which leads me to believe that the indirect command buffer did not know if the vertex & index buffers have completed their updates and are ready for use.How do I go about resolving this issue?Thanks!
Posted
by horpse.
Last updated
.