Skip to content

A collection of NRI samples demonstrating basic usage (also works as a test bench)

License

Notifications You must be signed in to change notification settings

NVIDIA-RTX/NRISamples

Repository files navigation

NRI Samples

Status

This is the test bench for NRI (NVIDIA Rendering Interface).

Build instructions

Windows

  • Install WindowsSDK and VulkanSDK
  • Clone project and init submodules
  • Generate and build project using cmake
    • To build the binary with static MSVC runtime, add -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>" parameter

Or by running scripts only:

  • Run 1-Deploy.bat
  • Run 2-Build.bat

Linux

  • Install VulkanSDK, xorg-dev,
  • Clone project and init submodules
  • Generate and build project using cmake

Or by running scripts only:

  • Run ./1-Deploy.sh
  • RUn ./2-Build.sh

CMake options

  • DISABLE_SHADER_COMPILATION - disable compilation of shaders (shaders can be built on other platform)
  • NRIF_USE_WAYLAND - use Wayland instead of X11 on Linux

How to run

The executables from _Bin directory load resources from _Data, therefore the samples need to be run with the working directory set to the project root folder. But the simplest way to run ALL samples sequentially is to click on 3-Test samples.bat.

About

A collection of NRI samples demonstrating basic usage (also works as a test bench)

Resources

License

Stars

Watchers

Forks

Releases

No releases published