Skip to content

6.8.0.7

Latest

Choose a tag to compare

@CeeJayDK CeeJayDK released this 29 Sep 22:40
9334331

Full Changelog: v6.8.0.6...v6.8.0.7

v6.8.0.7

Built against ReShade v6.8.0.

Every effect in our test corpus now compiles to DXBC on Linux

133 of 133 (v6.8.0.5: 108, v6.8.0.6: 129). Every effect that compiled before
gives byte-identical output.

  • isnan: vkd3d-shader has no isnan, so the HLSL handed to it gets
    (x != x) instead. Under IEEE rules NaN is the only value not equal to itself.
    Fixes Fubax PerfectPerspective. --hlsl output and the Windows build are
    unchanged.
  • Division by zero: legacy DOF.fx (GP65CJ042DOF) guards its modulo with
    if (sampleCycle != 0), but vkd3d folded n % 0 inside that dead branch
    anyway and refused to compile. A small patch to vkd3d
    (patches/vkd3d/fold-division-by-zero.patch) makes it a warning, as in
    D3DCompiler.

fxstat gets the same fixes

fxstat --dxbc on Linux now handles [fastopt] and isnan too. One effect is
very slow there in performance mode (fxstat's default): prod80
PD80_01B_RT_Correct_Color takes over 5 minutes, in vkd3d's loop unroller.
That was always the case; fxstat just failed on it earlier before. Noted in
docs/HANDOFF.md.

Also in the repo, not in these archives

ShaderLab's own vkd3d build now applies the same patch, so the DOF effect
above renders there too.