Test display-plane view selection in default builds #2632

Open
masteraapjes wants to merge 1 commit from upstream-pr/2632 into main
masteraapjes commented 2026-11-29 15:14:59 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by masteraapjes on 2026-11-29T15:14:59Z.


Refs #2420

What it changes

Correct the stale BGRX test to expect the compositor’s deliberate UNORM view for display-space sRGB bytes. Cover TYPELESS, UNORM and sRGB storage for RGBA, BGRA and BGRX, nine cases. Move this pure format-selection regression into default Windows tests so ordinary CI executes it. Production composition code is unchanged.

Rebuilt independently on upstream main 5fabb46eaf6ed8771321787f8871051abde69b9b to resolve the conflict after upstream history changed. Obsolete shared CI commits have been removed from the PR diff. Current upstream changes are retained.

How it was tested

Windows, pinned Rust 1.98.1. Tested head: 932872a4b21c8184257043c8dbc3b3c49b249940.

  • cargo test --locked -p victory-gpu --lib compose::view_tests:: -- --test-threads=1: 1 passed, covering nine format cases.
  • cargo test --locked -p victory-gpu --lib --all-features compose::view_tests:: -- --test-threads=1: 1 passed, covering the same nine cases.
  • Both scoped strict GPU Clippy commands ran and stopped solely on the five unchanged upstream errors listed below:
    • cargo clippy --locked -p victory-gpu --all-targets -- -D warnings
    • cargo clippy --locked -p victory-gpu --all-targets --all-features -- -D warnings
  • cargo run --locked --package xtask -- policy: 464 files passed. git diff --check passed.

Current upstream CI blocker, independently reproduced on unmodified main 5fabb46e: both cargo clippy --workspace --all-targets --locked -- -D warnings and cargo clippy --workspace --all-targets --all-features --locked -- -D warnings exit 101 with five errors in host/font.rs:213/260, host/menu.rs:667 and host/panel.rs:602/668. Existing #4679 addresses these. No unrelated fixes or lint suppressions are carried here. This is not a claim that the latest CI check job passed.

Pure format-selection testing; no GPU, SDK, title or shader wave-size result applies. Full GPU/workspace suites were not rerun. The full workspace test suite was not rerun for this conflict-resolution update. No game data is included.

Checked for overlap

  • Rechecked current main and targeted open-PR searches alongside the earlier overlap review. Related #2646 corrects the same stale BGRX expectation and adds three sRGB cases, but leaves the test diagnostics-only. This PR additionally moves nine format cases into default Windows CI. #2143 records the stale test; this addresses only the compositor-test part of #2420.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5552072197 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2632). Originally posted by [masteraapjes](https://github.com/masteraapjes) on 2026-11-29T15:14:59Z. --- Refs #2420 ## What it changes Correct the stale BGRX test to expect the compositor’s deliberate UNORM view for display-space sRGB bytes. Cover TYPELESS, UNORM and sRGB storage for RGBA, BGRA and BGRX, nine cases. Move this pure format-selection regression into default Windows tests so ordinary CI executes it. Production composition code is unchanged. Rebuilt independently on upstream main `5fabb46eaf6ed8771321787f8871051abde69b9b` to resolve the conflict after upstream history changed. Obsolete shared CI commits have been removed from the PR diff. Current upstream changes are retained. ## How it was tested Windows, pinned Rust 1.98.1. Tested head: `932872a4b21c8184257043c8dbc3b3c49b249940`. - `cargo test --locked -p victory-gpu --lib compose::view_tests:: -- --test-threads=1`: 1 passed, covering nine format cases. - `cargo test --locked -p victory-gpu --lib --all-features compose::view_tests:: -- --test-threads=1`: 1 passed, covering the same nine cases. - Both scoped strict GPU Clippy commands ran and stopped solely on the five unchanged upstream errors listed below: - `cargo clippy --locked -p victory-gpu --all-targets -- -D warnings` - `cargo clippy --locked -p victory-gpu --all-targets --all-features -- -D warnings` - `cargo run --locked --package xtask -- policy`: 464 files passed. `git diff --check` passed. Current upstream CI blocker, independently reproduced on unmodified main `5fabb46e`: both `cargo clippy --workspace --all-targets --locked -- -D warnings` and `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` exit 101 with five errors in `host/font.rs:213/260`, `host/menu.rs:667` and `host/panel.rs:602/668`. Existing [#4679](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4679) addresses these. No unrelated fixes or lint suppressions are carried here. This is not a claim that the latest CI `check` job passed. Pure format-selection testing; no GPU, SDK, title or shader wave-size result applies. Full GPU/workspace suites were not rerun. The full workspace test suite was not rerun for this conflict-resolution update. No game data is included. ## Checked for overlap - [x] Rechecked current main and targeted open-PR searches alongside the earlier overlap review. Related #2646 corrects the same stale BGRX expectation and adds three sRGB cases, but leaves the test diagnostics-only. This PR additionally moves nine format cases into default Windows CI. #2143 records the stale test; this addresses only the compositor-test part of #2420.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2632:upstream-pr/2632'
git switch 'upstream-pr/2632'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2632'
git switch 'upstream-pr/2632'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2632'
git switch 'upstream-pr/2632'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2632'
git switch 'main'
git merge --squash 'upstream-pr/2632'
git switch 'main'
git merge --ff-only 'upstream-pr/2632'
git switch 'main'
git merge 'upstream-pr/2632'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!2632
No description provided.