Skip to content

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

Merged
hrydgard merged 1 commit intomasterfrom
fix-pipeline-cache-race-condition
Jan 13, 2023
Merged

Fix a race condition during Vulkan shader cache load.#16804
hrydgard merged 1 commit intomasterfrom
fix-pipeline-cache-race-condition

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