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.
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.