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

softgpu: Detect binner alloc fail and bail #16690

Merged
merged 1 commit into from
Jan 1, 2023

Conversation

unknownbrackets
Copy link
Collaborator

It seems like there are crashes when binner_ is null, so let's actually check for that. Adds a consistent way for other backends to report a startup failure, although currently without any particular message.

In theory, if fundamental resources couldn't be created/allocated, other backends could return false here too.

-[Unknown]

@hrydgard hrydgard merged commit 71aa4c3 into hrydgard:master Jan 1, 2023
@unknownbrackets unknownbrackets deleted the softgpu-init branch January 1, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants