Skip to content

Test display-plane view selection in default builds - #2632

Open
masteraapjes wants to merge 9 commits into
trustno1-coder:mainfrom
masteraapjes:codex/compose-display-format-tests
Open

masteraapjes wants to merge 9 commits into
trustno1-coder:mainfrom
masteraapjes:codex/compose-display-format-tests

Conversation

@masteraapjes

Copy link
Copy Markdown
Contributor

Addresses the diagnostics-only compositor test reported in #2420.

What it changes

The BGRX test expects an sRGB view, while the compositor deliberately samples
display-space sRGB bytes through a UNORM view. Correct that stale expectation
and cover TYPELESS, UNORM and sRGB storage for RGBA, BGRA and BGRX (nine cases).

Move this pure format-selection test out of the diagnostics-only module so
the normal Windows CI test command runs it. Production code and GPU-dependent
tests are unchanged. No game files, vendor SDKs or GPU are needed for this test.

How it was tested

Base: trustno1-coder/VIctory-NVIDIA main, 829188e, Windows, pinned Rust 1.98.1.

  • Before: moving the original assertion unchanged to default tests reproduces
    the failure: actual DXGI_FORMAT(88), expected DXGI_FORMAT(93).
  • After: cargo test --locked -p victory-gpu --lib
    916 passed, 0 failed, 57 ignored. The new test exercises all nine cases.
  • cargo test --locked -p victory-core: 24 passed.
  • cargo test --locked -p victory-pe -p victory-pipeline: 49 passed.
  • cargo run --quiet --locked --package xtask -- policy --staged: 1 file passed.
  • git diff --check: passed.
  • GPU/profile and shader wave sizes: not applicable (test-only).

Existing upstream check failures, outside this patch:

Checked for overlap

@github-actions github-actions Bot added the pr-tests Pull request: tests only label Nov 29, 2026
@github-actions github-actions Bot changed the title [pr-tests] Test display-plane view selection in default builds Test display-plane view selection in default builds Nov 29, 2026
yggnoo93-bot and others added 8 commits November 30, 2026 16:19
card_pass took the compare's capture (7addcfc, VICTORY_LAND_CAPTURE) and
its two test callers still passed five arguments, so the library's tests
did not build. They pass [0; 3], no capture, as the other callers outside
the capture's mode do.

The thin recorder's bindings_record_no_work names every call by what it
records; begin_query and end_query (471d05c, trustno1-coder#3715) record into the query
heap and were in no list. They join the calls that record work.

The shader key's test lists four VICTORY_ORACLE_* names the translator no
longer reads since the differential fuzzer left (a1fe835); it failed on
the first of them.

(cherry picked from commit d8e409c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-tests Pull request: tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants