Skip to content

v192

Latest

Choose a tag to compare

@dzhdanNV dzhdanNV released this 12 Nov 03:45
· 14 commits to main since this release

A follow-up to v191, addressing compatibility changes required by Agility SDK v1.620 in NRI's D3D12 interface usage and feature queries, while preserving support for older D3D12 runtimes.

HIGHLIGHTS:

  • Creation: added custom Agility SDK paths, D3D12 validation controls, and a caller-provided Vulkan instance creation chain
  • SwapChain: added LATEST_READY presentation for Vulkan, allowing rendering above the display refresh rate with VSync and no tearing
  • Docs: added a link to the community C# bindings project SharpNRI
  • improvements and bug fixes
  • improved validation and error reporting
  • updated dependencies

MERGED:

CLOSED:

CONTRIBUTORS:

DETAILS:

  • Core: added Result::EXT_ERROR for potentially recoverable third-party SDK failures; diagnostics using this code do not invoke AbortExecution (#324)
  • Core: clarified the 4-byte alignment requirements of CmdZeroBuffer and validated offsets and resolved sizes
  • Creation: added DeviceCreationDesc::d3d12AgilitySdkPath for hosts that cannot export D3D12SDKVersion / D3D12SDKPath, preserving existing process-global configuration (#314)
  • Creation: added enableD3D12GpuBasedValidation and disableD3D12BreakOnError (#313)
  • Creation: added vkInstanceCreateInfoNext for caller-provided VkInstanceCreateInfo::pNext structures, such as layer settings (#313)
  • Creation: avoided probing other backends when creating a Vulkan device without an explicit adapter (#313)
  • SwapChain: added SwapChainBits::LATEST_READY and features.latestReadySwapChain; Vulkan prefers FIFO_LATEST_READY with VSYNC when supported, retaining existing present-mode fallbacks otherwise (#316)
  • Streamer: honored dynamicBufferDesc.size as initial per-frame capacity while retaining automatic growth (#315)
  • Upscaler: reported missing FSR libraries and entry points, SDK initialization failures, and FSR/XeSS/DLSS dispatch failures, including in Release builds (#324)
  • Upscaler: preserved specific INVALID_ARGUMENT, UNSUPPORTED, and OUT_OF_MEMORY results where available, using EXT_ERROR for other SDK failures (#324)
  • Upscaler: treated XeSS warnings as warnings, guarded cleanup after failed context creation, and skipped execution after failed exposure setup (#324)
  • Upscaler: selected the XeSS network model before pipeline compilation and initialization (#324)
  • Upscaler: reported MetalFX compiler and lazy scaler creation failures without aborting, including the compiler's diagnostic when available (#324)
  • LowLatency: reported failed Reflex calls and returned EXT_ERROR so callers can disable the optional feature (#324)
  • D3D11/D3D12: warned and disabled NVAPI or AGS when optional initialization failed; required rendering calls retain normal error handling (#324)
  • D3D12: adopted newer Agility SDK interfaces and used CheckFeatureSupport1 when available, with fallback to legacy feature queries (#307)
  • D3D12: fixed resource creation interface requirements on the Windows-provided runtime and added legacy video encode and metadata resolve paths for older interfaces (#309)
  • D3D12: supplied nonzero dummy addresses and a triangle descriptor stride for micromap prebuild size queries (#320)
  • D3D12: mapped any positive queue priority to HIGH, matching the public contract; zero and negative priorities use NORMAL (#321)
  • D3D12: made optional ray tracing validation enablement and callback registration failures nonfatal, retaining callback handles only after successful registration (#324)
  • VK: enumerated physical devices directly instead of device groups, improving compatibility with overlay layers such as RTSS (#319)
  • VK: filtered unsupported shader stages from barriers, fence submissions, and pipeline layout visibility masks (#310)
  • VK: gated mesh/task pipeline statistics and query result sizing on meshShaderPipelineStats, including wrapped query pools (#312)
  • VK: used AV1 "unspecified" color values when the sequence omits a color description (#322)
  • Validation: limited draw parameters emulation stride checks to D3D12 and Metal, avoiding false errors for native indirect draw records on other backends (#317, #318)
  • Validation: checked shader group identifier write ranges, nonzero group counts, and destination pointers (#311)
  • Validation: allowed an unused constantBufferMemoryLocation when the streamer has no constant buffer (#323)
  • Build: updated Agility SDK to v1.620.2, Vulkan headers to v1.4.368, NVTX to v3.7.0, and refreshed D3D12MA, NVAPI, and ShaderMake
  • Docs: linked SharpNRI, a community C# bindings project, and clarified Agility SDK selection, queue priorities, swap chain behavior, and error callback behavior