FSR 1, FrameFlow Zero-Copy Ring & Benchmark Protocol
Zero-Copy WebGPU Post-Processing (web/frameflow-worker.js, patches/vitaslop-fsr1.patch)
- Opt-in
shader-f16: Loaded beforeworker-probe.jsandworker.js, wrappingGPUAdapter.prototype.requestDeviceto append'shader-f16'cleanly on hardware GPUs. - 3-Slot Ring (
ensureRingAndSession): Redirects swapchain targets intoframeflow-ring-0..2(tex.destroy = () => {}) on the sharedGPUDevice, runningGameFI(lite-2x/std-2x/lite-3x/std-3x) prior to optionalGameSR(sr-lite/sr-std). - Mutual Exclusion & Software Guard:
web/engine.jssuppresses nativefsr1(!srActive) whileGameSRis active, anduiPresent=softwareforces all AI presets off.
Benchmark & Integrity Protocol (bench/, scripts/report.py)
- First Frame & Submit Probe (
bench/worker-probe.js): Emitspvsspw-submitstrictly when a command buffer writes to a newly acquired visible swapchain texture, ignoring shader warmup or offscreen passes. - 600s Sustained Battle &
PV_FSR_COMPARE=1: Verifies jump + landing at battle spawn before counting whole-screen and central-region pixel diffs (battle.mjs/fsr-comparison.mjs). - Hash-Verified Reports:
scripts/report.pyvalidates SHA-256 digests on every cited JSON trial and image before updatingresults/COMPARISON.md.