Skip to content
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

d3d12: Propagate errors when closing command lists #5125

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

nical
Copy link
Contributor

@nical nical commented Jan 23, 2024

Connections

I run into this fairly consistently while debugging #5090

Description

Before this commit, command lists that we failed to close were used anyway during submit, causing device loss.

This commit propagates the error and removes the now unused closed field in CommandBuffer.

Checklist

  • Run cargo fmt.
  • Run cargo clippy.
  • Run cargo xtask test to run tests.

@nical nical requested a review from a team as a code owner January 23, 2024 12:09
Before this commit, command lists that we failed to close were used anyway during submit, causing device loss.
Copy link
Member

@teoxoy teoxoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nical nical merged commit 60a5739 into gfx-rs:trunk Jan 23, 2024
25 checks passed
@nical nical deleted the d3d12-close-err branch January 23, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants