Main #2

Manually merged
github merged 12 commits from gh-pr/2/head into gh-pr/2/base 2026-11-26 20:41:07 +00:00
Owner

@⁠Hylanderry on GitHub · 2026-11-22 16:05 UTC · original
Hylanderry:main → dedsec-clean · +5171 −134 · 21 files · 12 commits · merged 2026-11-22 17:46 UTC

Claimed in #156 as:

What and why

Tested

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.
**@⁠Hylanderry** on GitHub · 2026-11-22 16:05 UTC · [original](https://github.com/Hylanderry/DedSec/pull/2) `Hylanderry:main` → `dedsec-clean` · +5171 −134 · 21 files · 12 commits · merged 2026-11-22 17:46 UTC Claimed in #156 as: <!-- the item ID, for example TEST-17, or a link to your claim --> ### What and why <!-- What this changes and the problem it solves. --> ### Tested <!-- What you ran and on which GPU and driver (CONTRIBUTING.md). For the shader translator: how many shaders translate and pass spirv-val, before and after. --> ### Checklist - [ ] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed.
- Complete rewrite replacing all Leonida content with DedSec branding
- DX12 native pipeline highlighted (RDNA2→HLSL→DXIL→DX12, 2 hops)
- Full status table with all DedSec modules (MIMG, DXC, Input Adapter, FSR3, VRS, etc.)
- Architecture diagram showing the complete translation pipeline
- Environment variables renamed to DEDSEC_*
- MIT license, credits to community and open-source dependencies
- Portuguese-first documentation with technical English terms preserved

Signed-off-by: DedSec <[email protected]>
Co-Authored-By: Claude Fable 5.2 <[email protected]>
- Removed assets/logo.png (old Leonida branding)
- Added assets/dedsec_logo.png (new DedSec identity)
- Updated .gitignore exception to track dedsec_logo.png
- README references updated to new logo asset

Signed-off-by: DedSec <[email protected]>
- GDeflate: Xbox Series asset compression format (clean-room DEFLATE-based)
- XAudio2: Xbox audio API shim over Windows XAudio2 with WASAPI fallback
- FLAT/MUBUF: 133 flat memory + 73 buffer instruction forms → HLSL SM 6.6
- All three libraries linked to dedsec_rt in CMakeLists.txt

Signed-off-by: DedSec <[email protected]>
- DPP8: 100 wave-lane permutation forms (mov, f32/i32/u32 ALU ops)
- DPP16: 100 quad/wave shuffle forms (fma, bcnt, mbcnt, perm, quad_mask)
- SMEM: 84 scalar memory forms (load/store dword-x16, buffer loads, atomics,
  cache ops, waitcnt, barrier, sendmsg, register access)
- All linked to dedsec_rt in CMakeLists.txt
- Total shader translator coverage: FLAT(133) + MUBUF(73) + MIMG(111) +
  DPP8(100) + DPP16(100) + SMEM(84) = 601 forms translated to HLSL SM 6.6

Signed-off-by: DedSec <[email protected]>
- Tradutor RDNA2→HLSL: 601 forms (MIMG+FLAT+MUBUF+DPP8+DPP16+SMEM)
- GDeflate decompressor: ✅ Completo
- XAudio2 shim: ✅ Completo
- GDK Runtime: XTaskQueue marked complete
- Added FLAT/MUBUF, DPP8/DPP16, SMEM rows to status table

Signed-off-by: DedSec <[email protected]>
- FMA/MAD f32/f64/f16, LERP, min3/max3/med3 f32/i32/u32
- Integer multiply: mul_lo/mul_hi u32/i32, mad_u64/i64
- Bit manipulation: BFE, BFI, PERM, ALIGNBIT/BYTE, bitfield_insert, 64-bit shifts
- Pack/unpack: f16 pack, dot2/dot4/dot8, packed f16/i16/u16 ALU
- Comparisons: 30 float/int/uint cmp ops → VCC mask
- Conditional select: CNDMASK b32/b64, READFIRSTLANE, READLANE
- Misc: SAD, BCNT, MBCNT, NOP
- Linked to dedsec_rt in CMakeLists.txt
- Total shader coverage now: 1,026 forms (VOP3+MIMG+FLAT+MUBUF+DPP8+DPP16+SMEM)

Signed-off-by: DedSec <[email protected]>
- Byte/half-word/dword select for src0, src1, and dst operands
- VOP1-SDWA: MOV, CVT f32/i32/u32, RCP, RSQ, SQRT, LOG, EXP, FLOOR, CEIL,
  TRUNC, RNDNE, FRACT, SIN, COS, NOT, BFREV, FFBL, FFBB, ABS_I32, NEG_I32
- VOP2-SDWA: ADD/SUB/MUL/MIN/MAX f32, ADD/SUB i32, AND/OR/XOR/LSHL/LSHR/ASHR b32,
  MIN/MAX i32/u32
- Full modifier support: sext, neg, abs on sources; clamp + omod on dst
- Linked to dedsec_rt in CMakeLists.txt
- Total shader coverage now: 1,246 forms (VOP3+SDWA+MIMG+FLAT+MUBUF+DPP8+DPP16+SMEM)

Signed-off-by: DedSec <[email protected]>
- Tradutor RDNA2→HLSL: 1,246 forms total
- Added VOP3 (425 forms) and SDWA (220 forms) rows to status table
- Remaining: VOP1(81) + VOP2(47) + SOP1/SOP2/SOPK/SOPC/SOPP(~200)

Signed-off-by: DedSec <[email protected]>
- VOP1 (81 forms): MOV, CVT f32/i32/u32/f64/f16, RCP, RSQ, SQRT, LOG, EXP,
  FLOOR, CEIL, TRUNC, RNDNE, FRACT, SIN, COS, NOT, BFREV, FFBL, FFBB,
  ABS_I32, NEG_I32, BCNT, MBCNT, SAD, READLANE, WRITELANE, SWAP, NOP,
  half-float ALU, ldexp, frexp, pack conversions
- VOP2 (47 forms): ADD/SUB/MUL/MIN/MAX/MAC f32/f64, ADD/SUB/SUBREV i32,
  MUL i24/u24, AND/OR/XOR/LSHL/LSHR/ASHR b32, MIN/MAX i32/u32,
  dot2/dot4/dot8, packed f16/i16/u16 ALU, ldexp f64
- Linked to dedsec_rt in CMakeLists.txt
- Total shader coverage now: 1,374 forms (VOP3+SDWA+VOP1+VOP2+MIMG+FLAT+MUBUF+DPP8+DPP16+SMEM)

Signed-off-by: DedSec <[email protected]>
- Tradutor RDNA2→HLSL: 1,374 forms total
- Added VOP1 (81 forms) and VOP2 (47 forms) rows to status table
- Remaining: SOP1(65) + SOP2(51) + SOPK(27) + SOPC(18) + SOPP(36) + VOP3P(29) + VINTRP/EXP/MTBUF(~30) ≈ ~256 forms

Signed-off-by: DedSec <[email protected]>
- SOP1 (65): MOV, CMOV, NOT, WQM, BREV, BCNT, FF0/FF1, FLBIT, SEXT,
  BITSET, GETPC/SETPC, SAVEEXEC variants, QUADMASK, MOVRELS, ABS, NEG
- SOP2 (51): ADD/SUB/ADDC/SUBB u32/i32, MIN/MAX i32/u32, CSELECT,
  AND/OR/XOR/ANDN2/ORN2/NAND/NOR/XNOR b32/b64, LSHL/LSHR/ASHR 32/64,
  BFM, MUL_I32, BFE/BFI 32/64, PACK f16/f32, WSHL/WRSHL
- SOPK (27): MOVK, CMOVK, 14 CMPK variants (eq/lg/gt/ge/lt/le i32/u32),
  ADDK, MULK, SETK, CBRANCH_I_FORK
- SOPC (18): 12 CMP variants (eq/lg/gt/ge/lt/le i32/u32), BITCMP0/1 b32/b64
- SOPP (36): NOP, ENDPGM, BRANCH, 6 CBRANCH variants, BARRIER, 4 WAITCNT,
  SENDMSG/MSGB, TRAP, cache ops, GPR_IDX, KILL, CLAUSE, PERFLEVEL
- Linked to dedsec_rt in CMakeLists.txt
- Total shader coverage: 1,571 forms across ALL major RDNA2 categories

Signed-off-by: DedSec <[email protected]>
- Tradutor RDNA2→HLSL: 1,571 forms total across all major categories
- Added SOP (197 forms: SOP1+SOP2+SOPK+SOPC+SOPP) row to status table
- Remaining minor: VINTRP/EXP/MTBUF(~30) + VOP3P(29) ≈ ~59 forms

Signed-off-by: DedSec <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:41:06 +00:00
github manually merged commit 6ede5651dd into gh-pr/2/base 2026-11-26 20:41:07 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.