mirror of
https://github.com/Mrsuss60/bloodborne_pc_windows_port.git
synced 2026-11-07 05:56:20 -10:00
tools/fsr4cap: fsr4cap.exe (MinGW) runs AMD's 4.1.1 upscaler DLL through the FidelityFX API on D3D12 under umu-run/Proton and records every dispatch by patching the D3D12 vtables (pipelines, root signatures, descriptors, uploads, constants). capture_all.sh records 1080p..2160p and all quality ratios; extract.py translates the 29 passes per (tier, model) with dxil-spirv (+ --class-bindings, patch included; --mixed-float-dot-product as vkd3d-proton) and checks the replay rules against every capture. fsr411/fsr411.cpp: plain-Vulkan replay (reflection, push descriptors, roles by resource name, constants as the DLL computes them). fsr4-bench --fsr411 runs it; verify.sh compares it with the DLL on the same inputs: bit-exact over 8 frames for 1080p, 1440p, 2560x1080 and 2160p, both models. 1600x900 differs only where the DLL itself races (right edge). Co-Authored-By: Claude Opus 5.5 <[email protected]>