Files
wgpu/naga/src
copilot-swe-agent[bot]andcwfitzgerald 4efd8cb4e7 Fix CI: Move PrimitiveIndex FXC ordering fix to HLSL backend only
The previous commit moved PrimitiveIndex to the top of the BuiltIn enum
to fix FXC ordering (SV_PrimitiveID must appear before other SVs).
However, since BuiltIn derives Ord, this changed the global sort order,
breaking DX12 inter-stage variable matching in CTS tests.

Fix: Restore PrimitiveIndex to its original enum position and handle
the FXC ordering requirement locally in the HLSL backend's InterfaceKey
by giving PrimitiveIndex its own sort key between Location and BuiltIn.

Co-authored-by: cwfitzgerald <7861353+cwfitzgerald@users.noreply.github.com>
2026-03-14 16:59:01 +00:00
..
2026-02-18 08:07:24 -07:00
2026-02-18 08:07:24 -07:00
2026-01-26 13:21:46 -05:00