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

renderer_vulkan: Don't crash if Depth Format is not recognized #2032

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Xphalnos
Copy link
Collaborator

@Xphalnos Xphalnos commented Jan 3, 2025

While it can't override Depth Format, this allows games to not crash due to this error.
Fixes PC Building Simulator and probably other games.

PC Building Simulator with this PR:
Capture d'écran 2025-01-03 180659
Capture d'écran 2025-01-03 180723

@polybiusproxy
Copy link
Collaborator

This is not the right thing to do and will likely crash drivers since you're returning the original format to use for depth.

@Xphalnos
Copy link
Collaborator Author

Xphalnos commented Jan 3, 2025

This is not the right thing to do and will likely crash drivers since you're returning the original format to use for depth.

The original format is not necessarily bad, it can be processed correctly

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

Successfully merging this pull request may close these issues.

2 participants