emit::rect tests fail with the Windows SDK 22621 DXIL validator (PSV0 mismatch) #1337
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from fxceless/victory-fork. Originally posted by jptorres96 on 2026-11-26T17:05:12Z.
At
f85101b, cargo test -p victory-shader --lib, Windows build 26300, RTX 4080 SUPER (driver 621.01):emit::rect::tests::the_rectangle_stage_is_a_geometry_shader (rect.rs:339)
emit::rect::tests::rectangles_are_drawn_whole (rect.rs:442)
Both panic in Validator::validate:
called
Result::unwrap()on anErrvalue: "error: Container part 'Pipeline State Validation' does not match expected for module.\nValidation failed."Validator::default_path() picks the newest Windows Kit that ships a dxil.dll. On this machine that is 10.0.22621.0 (dxil.dll 101.6.2112.13).
With VICTORY_DXIL pointing at the dxil.dll from the latest DXC release (1.9.2609.5), all three emit::rect tests pass, and so do the other 229 tests in the crate. The emitted PSV0 seems to need a newer validator than SDK 22621 provides.
Suggestion: have the tests check the validator version (IDxcVersionInfo) and skip validation below the required one, or document the minimum SDK or DXC version.
Imported from fxceless/victory-fork. Originally posted by Danty-Cod on 2026-11-27T04:26:05Z.
I'd like to claim this issue and work on a fix. Could you assign it to me?
Imported from fxceless/victory-fork. Originally posted by jptorres96 on 2026-11-27T09:33:06Z.
Thanks! I'm the reporter, not a maintainer, so assignment is up to @fxceless. I'm happy for you to take it though.
I can reproduce it on demand: SDK 10.0.22621.0 dxil.dll 101.6.2112.13 fails, and DXC 1.9.2609.5 via VICTORY_DXIL passes. If you link your branch, I'll run cargo test -p victory-shader --lib emit::rect with both validators and report back.
Imported from fxceless/victory-fork. Originally posted by Danty-Cod on 2026-11-27T13:42:45Z.
https://github.com/fxceless/victory-fork/pull/1433