Skip to content

SharpNRI v1.0.0-beta.3

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Nov 18:59
3960b59

Bound libraries

  • NRI: v191
  • Agility SDK: 1.620.1 (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

  • SharpNRI.AgilitySDK: copies the Agility SDK runtime at NRI's version into AgilitySDK\, build error on another version; debug layer in Debug builds
  • With SharpNRI.AgilitySDK, a missing AgilitySDK\D3D12Core.dll is an error, not the inbox runtime
  • Device creation refuses an NRI library or SharpNRI.Descs of another NRI version (INVALID_SDK, both versions named)
  • TryCreateSharedFence, TryCreateSharedBinaryFence, TryCreateSharedBuffer, TryCreateSharedTexture
  • Nri.NriVersion, NriHeaders.Version
  • NRI's header comments as XML docs on the generated types
  • Trimming and Native AOT declared (IsAotCompatible)
  • A missing native library names the file, the RID, the directories searched and the package
  • Licences copied to licenses\<package>\<rid>\ beside the application
  • Windows: NRI.dll needs no Visual C++ runtime (static C runtime)

Fixed

  • dotnet publish -r failed, or the licences overwrote each other and the application's LICENSE.txt
  • SharpNRI.Native.Upscalers did nothing unless SharpNRI was referenced with ExcludeAssets="native"
  • Package dependencies were minimums; SharpNRI → SharpNRI.Descs, SharpNRI.Testing → SharpNRI, SharpNRI.Native.Upscalers → SharpNRI are exact
  • SharpNRI.Testing: SHARPNRI_TEST_SOFTWARE=0 did not override GitHub Actions
  • SharpNRI.Testing: probing Vulkan created D3D12 devices
  • SharpNRI.Testing: a validation layer older than NRI's headers failed every Vulkan test instead of reporting it
  • Package README linked master instead of the release
  • Package description named macOS arm64 and "Alpha"

Breaking changes

  • SharpNRI.Descs versioned by NRI: 191.0.0-beta.1, new only when the descs change
  • SharpNRI.Native.Upscalers depends on SharpNRI and replaces its native library

Verified

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

API changes

Public surface against v1.0.0-beta.2, per package.

  • SharpNRI 1.0.0-beta.2 → 1.0.0-beta.3: 0 removed, 0 changed, 5 added

    Added (5)
    • const int SharpNRI.Nri.NriVersion = 191
    • bool SharpNRI.NriDevice.TryCreateSharedBinaryFence(out SharpNRI.NriFence fence)
    • bool SharpNRI.NriDevice.TryCreateSharedBuffer(in SharpNRI.Native.BufferDesc desc, out SharpNRI.NriBuffer buffer, float priority = 0)
    • bool SharpNRI.NriDevice.TryCreateSharedFence(out SharpNRI.NriFence fence, ulong initialValue = 0)
    • bool SharpNRI.NriDevice.TryCreateSharedTexture(in SharpNRI.Native.TextureDesc desc, out SharpNRI.NriTexture texture, float priority = 0)
  • SharpNRI.Descs 1.0.0-beta.2 → 191.0.0-beta.1: 0 removed, 0 changed, 2 added

    Added (2)
    • const int SharpNRI.NriHeaders.Version = 191
    • static class SharpNRI.NriHeaders
  • SharpNRI.Testing 1.0.0-beta.2 → 1.0.0-beta.3: unchanged

Downloads