Skip to content

SharpNRI v192.0.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Nov 16:24
c564bbc

Bound libraries

  • NRI: v192
  • Agility SDK: 1.620.2 (restored by the application through SharpNRI.AgilitySDK)
  • NVIDIA Image Scaling: 1.0.3 (compiled in)
  • AMD FidelityFX SDK: 2.4.0 (amd_fidelityfx_loader_dx12.dll 2.3.0.4555, amd_fidelityfx_loader_vk.dll 1.0.2.4555, amd_fidelityfx_upscaler_dx12.dll 4.1.2.4555, amd_fidelityfx_upscaler_vk.dll 4.1.2.4555)
  • Intel XeSS SDK: 3.0.2 (libxess.dll 2.0.2.68)
  • NVIDIA DLSS: 310.9.16 (not packaged)

Added

  • NRI v192
  • Nri.BindingVersion, Nri.DescsVersion, Nri.BindingNriVersion, Nri.DescsNriVersion: the loaded packages' versions, read at run time
  • NriExternalException: a failed third-party call (Result.EXT_ERROR: an upscaler SDK, NVIDIA Reflex), for falling back
  • D3D12: a refused pipeline cache reports why as an INFO (another driver version, another adapter, not a pipeline library); still OUT_OF_DATE

Fixed

  • A failed vendor upscaler creation throws NriExternalException (or NriUnsupportedException, or NriException with INVALID_ARGUMENT or OUT_OF_MEMORY, when the vendor's code says so) and reports an ERROR naming the call; a failed dispatch reports one too
  • D3D12 device creation with the debug layer: no [989] CheckFeatureSupport warnings
  • D3D12 debug layer: no warnings [963], [964], [971] for a pipeline not yet in the cache or a cache from another driver or adapter
  • An application's ResolvingUnmanagedDll handler for "NRI" runs whenever it was registered (SharpNRI's own handler threw and ended the chain); a missing NRI library is explained at device creation and adapter enumeration
  • A SharpNRI.Descs package other than the one SharpNRI depends on fails the build (SHARPNRI005) and device creation (INVALID_SDK)
  • NriPipelineLayoutDesc.ShaderStages documents NRI's rules
  • The guide and README describe the latest release without naming a version

Breaking changes

  • Every package moves to NRI v192: 192.0.0-beta.1, SharpNRI.Descs included
  • SharpNRI.AgilitySDK requires Microsoft.Direct3D.D3D12 1.620.2
  • D3D12 EnableGraphicsApiValidation on an Agility SDK path without d3d12SDKLayers.dll throws NriUnsupportedException (the device ran unvalidated); set SharpNRIAgilityDebugLayer in a Release build that validates

Verified

  • NVIDIA GeForce RTX 4070 SUPER, Vulkan and D3D12: ddd1579 (coverage)
  • Mesa lavapipe, Vulkan, Linux: ddd1579
  • WARP (D3D12), lavapipe (Vulkan, Windows and Linux): CI on the tagged commit

API changes

Public surface against v191.0.0-beta.4, per package.

  • SharpNRI 191.0.0-beta.4 → 192.0.0-beta.1: 0 removed, 1 changed, 6 added

    Changed (1)
    • const int SharpNRI.Nri.NriVersion = 191 → const int SharpNRI.Nri.NriVersion = 192
    Added (6)
    • SharpNRI.NriExternalException(string call, string detail = null)
    • static int SharpNRI.Nri.BindingNriVersion { get; }
    • static string SharpNRI.Nri.BindingVersion { get; }
    • static int SharpNRI.Nri.DescsNriVersion { get; }
    • static string SharpNRI.Nri.DescsVersion { get; }
    • sealed class SharpNRI.NriExternalException : SharpNRI.NriException, System.Runtime.Serialization.ISerializable
  • SharpNRI.Descs 191.0.0-beta.1 → 192.0.0-beta.1: 0 removed, 1 changed, 1 added

    Changed (1)
    • const int SharpNRI.NriHeaders.Version = 191 → const int SharpNRI.NriHeaders.Version = 192
    Added (1)
    • SharpNRI.Native.Result.EXT_ERROR = -5
  • SharpNRI.Testing 191.0.0-beta.4 → 192.0.0-beta.1: unchanged

Downloads