Skip to content

REST Enhanced v1.6.8.580 (ReShade 5.x)

D3D9 compatibility and general resource-lifecycle maintenance for Legacy ReShade 5.8–5.9.2 / API 7.

  • Accept standalone D3D9 surface render targets where a texture target was previously required. Standalone surfaces do not gain texture sampling, Automatic Scene Colour or modern HDR presentation.
  • Release REST-owned D3D9 views, group buffers, previews and shader resources before the last runtime on a device is destroyed for Reset. Preserve shared resources while another runtime on that device remains.
  • Release views before their backing resources and make view cleanup safe to repeat.
  • Restore native D3D9 render targets and depth/stencil bindings after REST copy/preview passes, even when event history was cleared at presentation. A native regression reproduces the previous depth loss.
  • Log the shader stage and hash before publishing hunting selections, including keyboard navigation, to preserve context for crash reports.
  • Separate cached texture views by device, resource handle and typed format; choose a replacement runtime from the same device.
  • Keep removed group objects alive for outstanding CPU queues, mark retirement before cleanup and skip retired work. Retained CPU objects are freed at add-on teardown; owned GPU buffers follow the synchronized cleanup path.
  • Evaluate pixel, vertex and compute effect queues independently so an earlier successful stage cannot skip later stages.

D3D9/reset and removed-group changes are adapted from BadassBaboon's fork, which credits CrazyDaifu for the D3D9 contribution. Attribution and the fork's MIT notice are included.

Validation and scope

These maintenance releases are prepared from the maintained stable branches. They exclude the experimental D3D12 scene-input renderer, Warframe compositor/shader patching, DXC integration and scratch-image pools. They do not claim to resolve issue #22.

Native local D3D9 checks exercise the production view class through a small ReShade API host, in x86 and x64: standalone surfaces, texture RTV/SRV ownership, exact pixel readback, repeated cleanup and 24 successful resets per architecture and SDK line. These tests do not load the complete add-on into a game. Production group/view lifecycle tests, rendering-safety checks, both native builds, package/workflow regressions and binary validation accompany the candidates. A native D3D9 test may explicitly skip on a CI runner without a HAL device; this does not replace the successful local coverage.

Game validation (16 November 2026): Baldur's Gate 3 passed D3D11 and Vulkan testing on both Modern v1.7.4.680 and Legacy v1.6.8.580, including with renodx-dlss5.addon64 active. Resident Evil 4 Ultimate HD Edition passed shader-resource-view hunting, normal effects/group operations and resolution/fullscreen changes with the fixed Modern x86 build (ReShade 6.8.0.2156). Its log recorded 440 hunting selections across 19 pixel shaders, no REST snapshot/copy errors and a clean exit.

RE4 was tested on Modern, not Legacy. D3D9 x64, D3D10 and D3D12 were not freshly game-tested for these releases; x86/x64 native D3D9 regressions cover both SDK lines. See Maintenance release validation for the exact coverage and limitations. The earlier RE4 hunting crash is fixed in the tested configuration; this is not a claim of universal game compatibility.

Improvements, adaptation, documentation and testing by DeViLhoOD, building on the upstream contributors credited in README.md.