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

Fix a race condition during Vulkan shader cache load. #16804

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

hrydgard
Copy link
Owner

Race condition in VulkanRenderManager::CreateGraphicsPipeline, due to the async cache load.

Could lead to unnecessary pipelines being created (pipelines for backbuffer, even when using buffered rendering).

Was seeing mystifying pipelines created while doing some logging investigating #16802 ...

@hrydgard hrydgard added this to the v1.15.0 milestone Jan 13, 2023
Could lead to unnecessary pipelines being created.
@hrydgard hrydgard force-pushed the fix-pipeline-cache-race-condition branch from b4ff8d1 to 784e8ab Compare January 13, 2023 09:35
@hrydgard hrydgard merged commit ea18031 into master Jan 13, 2023
@hrydgard hrydgard deleted the fix-pipeline-cache-race-condition branch January 13, 2023 09:41
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