Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

passthrough sample destroys bound vertex buffers prematurely #68

Open
bjoeris opened this issue Dec 18, 2018 · 0 comments
Open

passthrough sample destroys bound vertex buffers prematurely #68

bjoeris opened this issue Dec 18, 2018 · 0 comments

Comments

@bjoeris
Copy link
Contributor

bjoeris commented Dec 18, 2018

Based on a Gapid trace of the passthrough sample, it looks like the vertex buffers are destroyed immediately after recording the command buffer, before submitting to the queue. They should not be destroyed until after all uses of the buffer have completed. Because it looks like these command buffers are submitted repeatedly, these buffers should not be destroyed at all.

This causes the passthrough sample to replay incorrectly with the new dependency graph-based dead code elimination going into Gapid.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant