Skip to content

v0.11.6 — the game's own HLSL compiler gets named

Choose a tag to compare

@faisalkindi faisalkindi released this 04 Sep 14:25
· 1 commit to main since this release

"Everything looks fine but nothing changes" — now Diagnose names the cause

Far Cry 6 (#35): the install is correct, the add-on hooks NGX, the game's DLSS create and evaluate are intercepted, the signed DLSSNR runtime initialises — and then:

DLSS5 Generic proxy encode compilation failed with HRESULT 0x8876086c:
error X3506: unrecognized compiler target 'cs_5_1'

X3506 is ERR_UNRECOGNIZED_VERSION. The add-on compiles its neural pass at shader model 5.1, and a d3dcompiler_47.dll that ships beside the game's exe is loaded in preference to the system one — an old copy does not know that target. Nothing else about the install is wrong, which is exactly why it reads as "all ok, no effect".

Diagnose now covers it from both sides:

  • the compile failure is named outright when it appears in ReShade.log, with the fix;
  • a d3dcompiler_47.dll sitting next to the exe is reported with its version even before the game has been run, because that is the file to rename.

The fix is to rename the game's copy to d3dcompiler_47.dll.bak and start the game again — almost every game runs fine on the system copy.