Repository navigation
Conversation
catminou4
left a comment
There was a problem hiding this comment.
Test-merge with current main (ffe310e) conflicts — the Intel Arc DG2/Battlemage changes touch files main has moved since the branch point (the shader side overlaps the waterfall/EXEC work that landed in #566). A rebase is needed before this can be evaluated; the +622/-41 split across victory-gpu and victory-shader also means the shader half could in principle be split out for separate review, since the GPU half is Windows-only and can't be exercised from macOS. I'll take another look once it's rebased.
7bfa689 to
238b3d8
Compare
|
Rebased cleanly onto main at ffe310e. Conflicts in crates/victory-shader/src/emit/valu_tests.rs have been resolved to preserve our Wave32 simulation and packed dot product tests alongside the waterfall/EXEC tests from #566, including synchronizing dispatch tests under ONE_AT_A_TIME. All workspace tests and clippy checks (--all-targets, with and without --all-features) pass cleanly. Regarding the split: if separating the victory-shader changes from the Windows-only victory-gpu compaction pass makes review and testing on macOS easier, let me know and I can extract the shader commits into a separate PR. |
238b3d8 to
dc1aa37
Compare
|
Updated branch at dc1aa37 following a self-review pass:
Re-verified with cargo clippy --workspace --all-targets --locked -- -D warnings, --all-features, and full cargo test --workspace --locked (all tests passing, including new VOP2 dot2c, integer clamp, and opsel hardware tests). |
|
Tested on an Intel Xe-LP iGPU (not Arc) and an NVIDIA card. Setup: one laptop with an NVIDIA GeForce RTX 5060 Laptop GPU (Blackwell,
victory-shader's lib tests on each adapter (
The PR's NaN bit test fixes The debug layer gives the reason: This Xe-LP reports a maximum of 16 lanes, so a shader with a fixed wave size of 32 can't be created there. The test skips WARP on a No game data used. AI-assisted (Claude Code). |
|
Automated triage for the maintainers. Closing because by our reading the change is incorrect or would break something that works today. A release environment variable (VICTORY_WAVE_SIZE_MAX) makes console wave64 programs that depend on lane order declare WaveSize(32) and simulates their whole-wave sections at 32 lanes, with no emulation and outside the shader cache key: wrong results where it is used. Its other parts exist elsewhere (v_dot4* in main, the med3 NaN test is #1689) or are unrelated (indirect stream compaction against a rewritten indirect.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. |
Resolves #740
Summary
Hardware execution fallbacks and shader optimizations targeting Intel Arc DG2 and Battlemage architectures.
Changes