You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please look at ComputeNBody::render and ComputeNBody::draw.
We add an WaitForIdle in Api::VulkanSample::submit_frame(), so:
For graphics sequence, it's QueueSubmit -> WaitForIdle -> graphics.uniform_buffer.update. Most samples implement similar to this.
For compute sequence, it's QueueSubmit -> compute.uniform_buffer.update, there's no synchronization between the submission and buffer-update, which I think is wrong.
The text was updated successfully, but these errors were encountered:
Sorry for the typo. I mean "For compute sequence, it's QueueSubmit -> compute.uniform_buffer.update"
We submit compute cmdBuf first then update compute uniform. I don't see anything to guarantee that the compute cmdBuf execution happens before its uniform get updated. Isn't it an issue?
Please look at ComputeNBody::render and ComputeNBody::draw.
We add an WaitForIdle in Api::VulkanSample::submit_frame(), so:
For graphics sequence, it's QueueSubmit -> WaitForIdle -> graphics.uniform_buffer.update. Most samples implement similar to this.
For compute sequence, it's QueueSubmit -> compute.uniform_buffer.update, there's no synchronization between the submission and buffer-update, which I think is wrong.
The text was updated successfully, but these errors were encountered: