Repository navigation
Conversation
|
Recommendation: [MERGE] Reasoning: The CPU zlib inflater copies DEFLATE stored blocks with one range append instead of byte by byte, keeping the output-limit check and truncated-block behaviour. Small performance change in the DirectStorage/shader-library path, with a test. It's independent of #1081. CI (label, change-scope, no-game-data and the Runtime jobs) is still queued awaiting maintainer workflow approval, so nothing has run in CI yet; GitHub reports no merge conflict with Impact level: 3/10 |
…ose) - present: VICTORY_COMPOSE=1 lays the Series S interface plane (4K) over the game plane (1080p); without it everything before gameplay is black. Ported from fxceless/victory-gta6 PR ProjectLeonida#1189 (compose.rs; FSR stand-in not ported, use VICTORY_OWN_UPSCALER=1). - shader cache key includes VICTORY_BVH_MISS. Measured on an RTX 5070, Series S, half scale: about 20-22 fps, no device loss.
Independent Verification Report —
|
|
Verified by OreoFR
AI-assisted (Claude Code, Claude Opus 5.5). |
Claimed in the coordination issue as: RT-INFLATE-STORED-COPY (claim).
Depends on: none. Applies independently alongside #1081, which changes match expansion and Adler-32.
What changed
The CPU zlib inflater used by the DirectStorage request handler and shader-library extraction appended each byte of an aligned DEFLATE stored block separately. It now takes the available input as a span and appends that range in one operation. The declared length is still checked against the output limit before copying. A truncated block still contributes its available prefix before reporting a data error.
Measured on the runtime queue
Windows 11 x64, Ryzen 5 9600X, MSVC 19.44
/O2. Synthetic zlib requests each produced 4 MiB. The indicated percentage of output came from stored blocks containing pseudorandom bytes. A compressed tail kept every request within the shim’s source/destination size contract.6293c1c4f→ this PR (ms/request)09ba0aa85→ both (ms/request)Each figure is the median of ten paired rounds with alternating run order. Timed the actual queue from enqueue through submission and its completion event, eight requests per sample after a warm-up batch. Every request returned
S_OKand its full destination matched outside the timer. The mixed cases improved in all ten pairs. Changes on the 0% control were within 2% in either direction. The retail block mix, game startup time and FPS were not measured.Tested
gta6rt.exein RelWithDebInfo on native Windows. CTest passedshader_libraryanddstorage(329 checks in the latter). The shader-library suite also passed on Linux x86-64 with GCC 15.2.git merge-treeapplies this PR and inflate: expand repeated matches in blocks and batch Adler reductions #1081 cleanly.GPUs tested: n/a (CPU and DirectStorage queue). Only synthetic input used.
AI-assisted: yes (OpenAI Codex).
Checklist
mainand merges cleanly.