shader: fix GFX10.13 TG_SIZE_EN wave-base bits [11:6] and wave count (Part of #2413, #3224) #3798

Manually merged
github merged 1 commit from github-bot/gh-3796 into main 2026-12-02 01:54:20 +00:00 AGit
Owner

@⁠timbot103 on GitHub · 2026-12-01 22:57 UTC · original
timbot103:shader/compute-tg-size-en → main · +183 −3 · 4 files · 1 commits · merged 2026-12-02 01:50 UTC

Part of #2413, #3226.

Fixes COMPUTE_PGM_RSRC2.TG_SIZE_EN (bit 10) word packing in the native C++ direct compute DXIL frontend (src/gfx1013_direct_compute.inl:381-385) to match GFX10.13 evidence:

Summary

  • **Wave ID bits [11:6] (
**@⁠timbot103** on GitHub · 2026-12-01 22:57 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3796) `timbot103:shader/compute-tg-size-en` → `main` · +183 −3 · 4 files · 1 commits · merged 2026-12-02 01:50 UTC Part of #2413, #3226. Fixes COMPUTE_PGM_RSRC2.TG_SIZE_EN (bit 10) word packing in the native C++ direct compute DXIL frontend (src/gfx1013_direct_compute.inl:381-385) to match GFX10.13 evidence: ### Summary - **Wave ID bits [11:6] (
Pack the guest wave ID in bits [11:6] and round up the wave count using the guest wave width. Exercise both direct DXIL entry paths with DXIL checks and per-thread WARP and RTX 5080 readback.

Refs #2413, #3224
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 23:01:24 +00:00
github manually merged commit e0db3121a8 into main 2026-12-02 01:54:20 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.