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: Better pipeline creation error handling #16357

Merged
merged 8 commits into from
Nov 7, 2022

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Nov 7, 2022

Fixes #16341 .

See #16341 (comment) for the reason - it's basically a failed compile when the fragment shader has an unconditional discard; in it, and some followup problems.

Fixes mailbox (used by Promise) to accept and keep null values which avoids hanging on null pipelines.

Avoids drawing using null pipelines - we can now survive pipeline creation failures better.

This also somewhat awkwardly lifts the length limit on Android logging by splitting (should really split on line breaks but doesn't yet).

@hrydgard hrydgard added the Vulkan label Nov 7, 2022
@hrydgard hrydgard added this to the v1.14.0 milestone Nov 7, 2022
@unknownbrackets unknownbrackets merged commit b96d4aa into master Nov 7, 2022
@unknownbrackets unknownbrackets deleted the pipeline-creation-error-handling branch November 7, 2022 23:51
@ghost
Copy link

ghost commented Nov 8, 2022

Thanks!

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.

(Adreno)(Vulkan) Burnout Legends freeze since #15589
2 participants