dlss_wgpu

Crates.iodlss_wgpu
lib.rsdlss_wgpu
version1.0.0
created_at2025-08-15 00:07:19.973621+00
updated_at2025-08-15 00:07:19.973621+00
descriptionAdds support for using DLSS with wgpu
homepage
repositoryhttps://github.com/bevyengine/dlss_wgpu
max_upload_size
id1795995
size109,998
publish (github:bevyengine:publish)

documentation

https://docs.rs/dlss_wgpu

README

dlss_wgpu - Deep Learning Super Sampling for wgpu

A wrapper for using DLSS with wgpu when targeting Vulkan.

Version Chart

dlss_wgpu dlss wgpu
v1.0 v310.3.0 v26

Downloading The DLSS SDK

The DLSS SDK cannot be redistributed by this crate. You will need to download the SDK as follows:

Build Dependencies

Distributing Your App

Once your app is compiled, you do not need to distribute the entire DLSS SDK, or set the DLSS_SDK environment variable. You only need to distribute the DLSS DLL(s) and license text as follows:

  • For DLSS super resolution:
    • Window: Copy $DLSS_SDK/lib/Windows_x86_64/rel/nvngx_dlss.dll to the same directory as your app
    • Linux: Copy $DLSS_SDK/lib/Linux_x86_64/rel/libnvidia-ngx-dlss.so.310.3.0 to the same directory as your app
  • For DLSS ray reconstruction:
    • Windows: Copy $DLSS_SDK/lib/Windows_x86_64/rel/nvngx_dlssd.dll to the same directory as your app
    • Linux: Copy $DLSS_SDK/lib/Linux_x86_64/rel/libnvidia-ngx-dlssd.so.310.3.0 to the same directory as your app
  • Include the full copyright and license blurb texts from section 9.5 of $DLSS_SDK/doc/DLSS_Programming_Guide_Release.pdf with your app

Debug Overlay

When dlss_wgpu is compiled with the debug_overlay cargo feature, and the DLSS_SDK environment variable is set, the development version of the DLSS DLLs will be linked.

The development version of the DLSS SDK comes with an in-app overlay to help debug usage of DLSS. See section 8.2 of $DLSS_SDK/doc/DLSS_Programming_Guide_Release.pdf for details.

Validation Errors

Due to a bug in DLSS, you should expect to see Vulkan validation errors https://forums.developer.nvidia.com/t/validation-errors-using-dlss-vulkan-sdk-due-to-vkcmdclearcolorimage/326493.

These errors are safe to ignore.

Commit count: 0

cargo fmt