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

[Windows] Make D3D12 loading dynamic to support pre-Windows 10 versions. #88496

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Feb 18, 2024

Fixes #88466, supersede #88486

Also include checks and fixes from #88486

@bruvzg
Copy link
Member Author

bruvzg commented Feb 18, 2024

Tested build with D3D12 enabled on Windows 7, it is loading (D3D12 obviously is not working):

capture

@RandomShaper
Copy link
Member

I would like to take a step back for a moment and reassess if dynamic loading is worth it, considering the amount of patches and compexity it's adding. What's the advantage to it?

@bruvzg
Copy link
Member Author

bruvzg commented Feb 19, 2024

What's the advantage to it?

Windows 7/8/8.1 support by official binaries, I do not think there's any other advantage.

considering the amount of patches and compexity it's adding

It's only 10 calls (5 in the engine + single helper header patch), and not much complexity, if it was something like GLAD I would not consider it, but something like this looks acceptable to me.

@RandomShaper
Copy link
Member

I was unaware of the issues pre-Win-10. If even Windows 8.x needs it, then I quite see the advantage.

@akien-mga akien-mga merged commit 5d20628 into godotengine:master Mar 5, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

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.

[Win7] Godot 4.3dev no longer launches (missing d3d12.dll)
3 participants