Repository navigation
Shaders: hardware test for v_cmp_class_f32 - #1053
LouisRiverstone wants to merge 1 commit into
Conversation
|
Independent Linux/Wine hardware run of Rust 1.98.1, Windows MSVC target, Wine 11.22, RTX 5090 / NVIDIA 620.73.04, vkd3d-proton Separately, I combined #1046, #1048, #1050, #1052 and #1053 (all patches applied cleanly) and ran all 14 generated workspace unit/integration test executables with all features. Combined: 345 passed, 5 failed, 6 ignored; matched baseline: 341 passed, 5 failed, 6 ignored. This full-suite result belongs to the combined tree. The five failures match baseline: empty pipeline library (#347), Wine Winsock export (#217), checksum-rejection expectation, nested Cargo fixture build, and Windows xtask launching host Git. Native Linux checks of that tree pass: shader 96 passed / 1 ignored, xtask 4 passed, asset policy clean. Windows-target shader Clippy with all targets/features and Offline and offscreen; no game data, gameplay, native Windows or Wine doctests. Native AI-assisted testing with Codex. |
|
Ran the new test, since the description says it was only type-checked. Windows 11 26300, AMD Radeon RX 5700 (RDNA1, driver 26.11.2) and WARP,
No game data used. AI use: Claude Code (Claude Opus 5.5) ran the tests over SSH and drafted this comment; the runs are on my machine. |
|
Tested head
AI-assisted (Claude Code). |
…fied together Merges Marvisak#156 Marvisak#162 Marvisak#168 Marvisak#169 Marvisak#368 Marvisak#379 Marvisak#456 Marvisak#587 Marvisak#990 Marvisak#1021 Marvisak#1048 Marvisak#1052 Marvisak#1053 Marvisak#1095 Marvisak#1142 Marvisak#1190 Marvisak#1211 Marvisak#1223 Marvisak#1259 Marvisak#1293 on top of the bundle of Marvisak#1402 (which is on Marvisak#1319, on main ffe310e), each head unchanged. Hunks that conflicted in emit/lower.rs, emit/valu_tests.rs and emit/diff_tests.rs were merged by keeping both sides (additions next to each other); a PR was kept only if cargo clippy -p victory-shader --all-targets -- -D warnings still passed with it. No instruction name is handled in two places. Marvisak#98 is not in this version: an offline measurement on a retail dump showed it loses 31 programs that validate on Marvisak#1402. cargo clippy --workspace --all-targets --locked -- -D warnings, with and without --all-features, is clean and cargo test --workspace --locked passes (381 passed, 6 ignored; main has 342 passed, 6 ignored). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Automated triage for the maintainers. Closing because this change is already in v_cmp_class_f32 is already tested in main: semantics_tests.rs If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution. |
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
VICTORY_SKIP_BINK=1 skips the movies that play once (the intro); VICTORY_SKIP_BINK=all also the looping ones. Unset, nothing changes. The title's own Bink DLL still opens each movie. The exports a player loop calls on an open movie (BinkWait, BinkDoFrame*, BinkNextFrame, BinkGoto, BinkShouldSkip, BinkClose) are bound to wrappers; on the first of these calls for a movie that is skipped, the movie is put on its last frame, and from then on nothing is decoded, so the title's own end-of-movie check ends it at once. Whether a movie loops is read from its open flags at that first call, after any BinkSetWillLoop. In a run of the title with VICTORY_SKIP_BINK=1, the one movie it opened (3840x2160, 450 frames, not looping) was skipped. The idea comes from XCL PR Marvisak#1053 (xcl-dev/xcl); the code is written anew for VIctory's loader. Assisted-by: Claude Code (Claude Opus 5.5)
Fixes #799.
v_cmp_class_f32(VOPC 0x088) shares a branch withv_cmp_class_f16inlower.rs, but with its own constants (exp_sh = 23,mant_mask = 0x7F_FFFF,quiet_bit = 0x40_0000). Only the f16 form had a test.New test
v_cmp_class_f32_matches_rdna2, mirroring the f16 one: for each of the 10 classes (signalling and quiet NaN of both signs, ±inf, ±normal, ±denormal, ±0) it checks that the class bit alone gives true and the other nine bits give false.Test only, no production change.
Verify:
cargo test -p victory-shader v_cmp_class_f32(Windows, hardware GPU or WARP). I type-checked it withcargo check --target x86_64-pc-windows-msvc, but could not run it locally.🤖 Generated with Claude Code