Repository navigation
Conversation
DXIL's CalculateLOD takes three coordinates and the validator wants those past the image's spatial dimensions undef: the layer of a 2D array image is not one. Three pixel programs that read barycentrics directly (PS_DeferredTextured_AlphaClip and two others) stopped validation with 'out of bound coord must be undef'. (cherry picked from commit 6e248e45342a3b7d1556298c6a72ab9881128b1d)
|
Offline check on the retail shader pack: this PR, merged onto current Setup: RTX 5090, Windows 11.
Duplicate closed: I had opened #720 for the same thing without seeing this PR; it emits byte-identical DXIL for all programs, and I closed it. It has a small synthetic test ( AI use: Claude Code with Claude Opus 5.5 ran the pack and wrote this. Nothing from the title is in it. |
|
Independent RTX 5080 result on NVIDIA fork I adapted ZTRX PR 103's synthetic fixture to require validation and pipeline creation on both the hardware adapter and WARP. The parent failed on the 1D array case with Testing and reporting assisted by OpenAI Codex. |
Changes
CalculateLODwas passed every coordinate component of the sample it was derived from. The DXIL validator wants the components beyond the texture's spatial dimensions to beundef(out of bound coord must be undef). The level-of-detail query now passes only the spatial coordinates.Validation
34e55a0e,cc182397,d52fbc59). Only those three programs' DXIL changes; none is lost and there are no new dxv or dxil-spirv failures.cargo clippy --workspace --all-targets --locked -- -D warningsfor the Windows target, with and without--all-features, andcargo test -p victory-shader -p xtaskpass on this branch (cross-compiled from Linux with the pinned toolchain).AI-assisted patch with local build and offline validation.