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

[d3d11] Fix device ref counting from queries. #1887

Merged
merged 1 commit into from
Jan 6, 2021
Merged

[d3d11] Fix device ref counting from queries. #1887

merged 1 commit into from
Jan 6, 2021

Conversation

gofman
Copy link
Contributor

@gofman gofman commented Jan 6, 2021

Fixes AO Tennis 2 crash on exit.

The crash is due to DxvkGpuQueryAllocator::freeQuery is called after the DxvkGpuQueryAllocator has been already freed, which is probably due to missing reference counting from d3d11 query to d3d11 device (device gets destroyed while there are still queries created from it). The similar crash is reproducible on Windows with dxvk.

Fixes AO Tennis 2 crash on exit.
@doitsujin doitsujin merged commit 5852e31 into doitsujin:master Jan 6, 2021
@gofman gofman deleted the queries_ref_counting branch January 6, 2021 19:34
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.

4 participants