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 |
MoonEyes
pushed a commit
to MoonEyes/leonida
that referenced
this pull request
Nov 27, 2026
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.