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

Vulkan: Make sure textures/samplers are unbound at the end of PresentationCommon::CopyToOutput #13138

Merged
merged 1 commit into from
Jul 13, 2020

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jul 13, 2020

Validation caught an issue (and I had a crash in a Debug build, too) where old stuff lingered in sampler 1 and texture 1.

Bug probably introduced in #12921, but could also be others.

This could maybe be done more elegantly in some other way, like unbinding stuff when we bind a new pipeline that uses less samplers, or something like that. But we don't have a clear view how many samplers a pipeline uses here.

Also started doing some similar cleanup in the other backends but likely not necessary.

@hrydgard hrydgard added this to the v1.11.0 milestone Jul 13, 2020
…ationCommon::CopyToOutput.

Validation caught an issue where old stuff lingered in sampler 1 and texture 1.

Bug probably introduced in #12921, but could also be others.
@hrydgard
Copy link
Owner Author

Gonna merge this prematurely since it's kinda critical and I'm doing stuff on top of it.

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

Successfully merging this pull request may close these issues.

1 participant