mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-12-02 18:52:28 +00:00
A Rust crate replacing the experiment-branch Python prototype: console container reader, a decoder for every encoding format (opcode names generated from the public LLVM disassembler; SDWA/DPP extension words), HLSL translation of every prototype rule through family tables, and coverage over local shaders. bx-cli shader translate and bx-cli shader coverage run it. The decoder prints the text llvm-mc prints for 127 instructions; three shader pairs of our own translate to exactly the prototype's output. Locally, all 4,331 target-build VS/PS shaders decode, 703 translate on their own (491 with the prototype's rules), and all 214 pipeline pairs the prototype translated give identical HLSL and layout. Signed-off-by: ates <ahmetrizaates@hotmail.com>