Recompile single-texture gfx1013 pixel shaders for desktop D3D12 #11
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!11
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/11/head"
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?
@R0Y00 on GitHub · 2026-11-21 07:36 UTC · original
R0Y00:codex/pixel-aot→main· +609 −3 · 11 files · 2 commits · merged 2026-11-21 07:41 UTCAdds an offline translator for a narrow gfx1013 pixel program and a Windows D3D12 readback test. The translator decodes native instructions with LLVM, tracks scalar and vector register values and emits HLSL for DXC. The caller supplies the texture and interpolation entry registers and the sampler descriptor words.
The two original assembly fixtures draw an RGBA copy and a red/blue swap. The draw test compares all 16,384 output components with a CPU reference and requires an intentional channel mismatch to fail. The Linux job assembles each fixture and checks machine-code extraction and lowering. Windows CI exercises DXC and WARP.
Verified locally with LLVM 15, RTX 4060 Laptop and WARP. Both pixel tests passed. Full CTest result was 46 passes and two wave64 capability skips. The public fixtures are generated from original test code. Full game startup and native pipeline bindings remain open.