Repository navigation
GPU diagnostics: preview the last color target of a requested size - #29
GrapeJuice429 wants to merge 2 commits into
Conversation
|
Merger: not merging yet — no CI check has run on this head ( |
|
@coderabbitai review |
|
Merger: CI is green on this head (run approved manually — the pull_request run was in action_required). Still not merging: CodeRabbit has not reviewed this PR at all (its app reviews are auto-paused since 21:06Z) and a human review is absent. Unblock: unpause CodeRabbit / resume reviews, then this can merge on the next cycle. |
|
@coderabbitai review — please review the current head (only blocker for merge: CI is green and every earlier thread is resolved). |
|
Superseded by the unified core (#88); branch kept for reference. |
What changes
VICTORY_SHOW_TARGET=last:2560x1440previews the last compatible color texture touched at the requested resolution in each frame. A frame with no match falls back to the title's ordinary presentation. This lets a tester inspect an intermediate world render when the final lighting or upscale output is black and the target's index changes between frames. The selector accepts single-surface, single-sample RGBA8 and BGRA8 UNORM or sRGB textures. It logs the first successful preview. Numeric and busiest selectors keep their existing behavior.Credit
The 1440p observation comes from @mpDom's diagnostic in r4tedx/VIctory#10 and @r4tedx's update 9 integration. This implementation uses Scarlight's existing diagnostics selector and supports user-specified dimensions. Both projects use the GPL.
Verification
Built the native Windows diagnostics executable on x86-64 MSVC from Scarlight base
c1ad1e5. All four capture tests passed, including new cases for selector parsing, dimension matching, multisampling and color format. The repository asset-policy check passed for all 173 files. The automated tests cover target eligibility. The comparison of HUD and ordinary world output on an RTX 4070 Ti SUPER is in progress.AI assistance
OpenAI Codex assisted with implementation, tests and this description.