-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should command buffers be invalidated by an invalid submit? #4599
Comments
|
Worth noting that I've searched through the CTS and haven't found any tests that exercise the command buffer invalidation behavior either way. We don't even appear to test that command buffers are invalidated after a successful submit, so that's a clear gap in our testing right now. |
I would prefer this as well, to avoid running out of command buffers as noted in #4622 WebKit currently says |
Be aware that, if the group does this, authors will probably be incentivized to do the anti-pattern of
instead of
|
GPU Web WG 2024-05-15
|
Tangentially related to #4593 (just because that added an extra rule to submit).
Say you have two command buffers
cb_valid
andcb_invalid
:Currently, the spec says it is still valid. It so happens that Dawn incorrectly implements this and makes
cb
invalid even if the submit doesn't happen (so there's no breaking change potential for anything that currently works on Chrome). It probably isn't actually useful for it to be valid, so being more conservative might be good.The text was updated successfully, but these errors were encountered: