Skip to content

Shaders: cover integer three-way ops, f16 zero order, s_bfe_u32 and f32 class - #1

Open
Altorru wants to merge 1 commit into
mainfrom
test/valu-int-class
Open

Altorru wants to merge 1 commit into
mainfrom
test/valu-int-class

Conversation

@Altorru

@Altorru Altorru commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Adds the four synthetic RDNA2 hardware tests that upstream issues Marvisak#799, Marvisak#800, Marvisak#802 and Marvisak#803 list as missing, so this fork PR is also the CI run for them:

No game data. Tested by this PR's Windows CI (cargo test --workspace); locally only rustfmt, git diff --check and the unaffected CPU tests could run because the harness is cfg(all(test, windows)).

AI-assisted: the tests were written by an agent (Codebuff) at the maintainer's request; no hardware was available locally, so the first execution is CI's WARP/hardware run.

…32 class

The translator handled these RDNA2 instructions but nothing ran them on a
device, so signedness, -0 ordering and the f32 class-bit mapping could break
unseen. Adds the synthetic hardware cases requested in Marvisak#799, Marvisak#800, Marvisak#802 and
@Altorru

Altorru commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

Windows CI passed: https://github.com/Altorru/VIctory/actions/runs/45391712656 — clippy (default and all-features) and cargo test --workspace. The new tests ran, not skipped: v_cmp_class_f32_matches_rdna2, bfe_signed_and_unsigned_match_rdna2, max_and_min_order_negative_zero_below_positive_zero and v_med3_min3_max3_integer_matches_rdna2 all report ok on WARP.

@Altorru

Altorru commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

Windows CI passed: 45391712656 — clippy (default and all-features) and cargo test --workspace. Four RDNA2 tests (v_med3_min3_max3_i32/u32, v_max_f16 zero-order, s_bfe_u32, v_cmp_class_f32) all ran and report ok on WARP. No game data. Ready for merge or cherry-pick by a Marvisak collaborator.

1 similar comment
@Altorru

Altorru commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

Windows CI passed: 45391712656 — clippy (default and all-features) and cargo test --workspace. Four RDNA2 tests (v_med3_min3_max3_i32/u32, v_max_f16 zero-order, s_bfe_u32, v_cmp_class_f32) all ran and report ok on WARP. No game data. Ready for merge or cherry-pick by a Marvisak collaborator.

@Altorru

Altorru commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

CI pass confirmed: 45391712656 — clippy + all-features + cargo test --workspace. Four RDNA2 tests all ran and report ok on WARP. No game data. Ready for merge/cherry-pick.

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