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

Request DLSS extensions only when they are supported #12

Merged
merged 1 commit into from
Apr 17, 2022

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented Apr 10, 2022

Only request DLSS extensions if the loader and driver report that they are supported. This should skip loading DLSS on systems with old drivers or GPUs that are not NVIDIA. While technically all extensions should be validated before launching, I think it is fine to let the application crash if no fallback is provided e.g forcing GL renderer if RT is not possible.
I have not tested this on NVIDIA, hopefully nothing broke. Runs fine on my RDNA2 card now even when compiled with DLSS support.

@sultim-t sultim-t merged commit 95788d7 into sultim-t:SpecularReprojection Apr 17, 2022
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