Skip to content

GPU diagnostics: preview the last color target of a requested size - #29

Closed
GrapeJuice429 wants to merge 2 commits into
pablogonz12:mainfrom
GrapeJuice429:codex/render-target-last-1440p
Closed

GrapeJuice429 wants to merge 2 commits into
pablogonz12:mainfrom
GrapeJuice429:codex/render-target-last-1440p

Conversation

@GrapeJuice429

Copy link
Copy Markdown

What changes

VICTORY_SHOW_TARGET=last:2560x1440 previews 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.

@pablogonz12

Copy link
Copy Markdown
Owner

Merger: not merging yet — no CI check has run on this head (gh pr checks reports none) and CodeRabbit has not reviewed it. Re-push the branch (or dispatch the CI workflow) so the check job runs; I merge as soon as it is green and CodeRabbit has reviewed the head.

@pablogonz12

Copy link
Copy Markdown
Owner

@coderabbitai review
Merger: CI is green on this head (the run needed manual approval, now done). Please review; the PR is otherwise ready to merge.

@pablogonz12

Copy link
Copy Markdown
Owner

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.

@pablogonz12

Copy link
Copy Markdown
Owner

@coderabbitai review — please review the current head (only blocker for merge: CI is green and every earlier thread is resolved).

@pablogonz12

Copy link
Copy Markdown
Owner

Superseded by the unified core (#88); branch kept for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants