Repository navigation
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_READYpresentation 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_ERRORfor potentially recoverable third-party SDK failures; diagnostics using this code do not invokeAbortExecution(#324) - Core: clarified the 4-byte alignment requirements of
CmdZeroBufferand validated offsets and resolved sizes - Creation: added
DeviceCreationDesc::d3d12AgilitySdkPathfor hosts that cannot exportD3D12SDKVersion/D3D12SDKPath, preserving existing process-global configuration (#314) - Creation: added
enableD3D12GpuBasedValidationanddisableD3D12BreakOnError(#313) - Creation: added
vkInstanceCreateInfoNextfor caller-providedVkInstanceCreateInfo::pNextstructures, such as layer settings (#313) - Creation: avoided probing other backends when creating a Vulkan device without an explicit adapter (#313)
- SwapChain: added
SwapChainBits::LATEST_READYandfeatures.latestReadySwapChain; Vulkan prefersFIFO_LATEST_READYwithVSYNCwhen supported, retaining existing present-mode fallbacks otherwise (#316) - Streamer: honored
dynamicBufferDesc.sizeas 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, andOUT_OF_MEMORYresults where available, usingEXT_ERRORfor 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_ERRORso 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
CheckFeatureSupport1when 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 useNORMAL(#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
constantBufferMemoryLocationwhen 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