Verify RDNA 2 shader translation and inline DXR on Direct3D 12 #1

Manually merged
github merged 5 commits from gh-pr/1/head into gh-pr/1/base 2026-11-26 19:37:11 +00:00
Owner

@⁠edupode on GitHub · 2026-11-21 19:08 UTC · original
edupode:feature/d3d12-shader-bringup → main · +2138 −66 · 27 files · 5 commits · merged 2026-11-21 23:57 UTC

Summary

DXBC / XDAT / XBCH → FSSM → scalar RDNA 2 → HLSL → cs_6_6 DXIL → Direct3D 12 readback
MicrosoftGame.Config or AppxManifest.xml → launch executable → DUMPBIN + SHA-256 + direct import gaps

The Windows shader probe builds and clones a triangle BLAS, builds a TLAS and checks an inline DXR hit and miss. The shader tools and diagnostics keep the existing Direct3D 12 backend.

Evidence

  • Before: b631794 exercised the basic graphics and Signal Run paths. Shader translation and manifest selection were absent.
  • After: ctest --test-dir build --output-on-failure with WSX_DXC_DIR set passed 13/13. python -m unittest discover -s tools passed 13/13.
  • The extracted ZIP ran the translated fixture on the RTX 5070 Ti Laptop GPU and ran DXR on that GPU and in WARP. All three runs with --debug reported zero D3D12 debug layer errors. Both adapters reported DXR tier 1.2 on this machine.
  • The manifest test verified an AMD64 executable, a matching candidate shim export and the executable hash. The local Scarlett package check found the declared executable missing and six xmem.dll import records without a shim.
  • The standalone fixture validates scalar translation. Console pipeline and title startup still need authorized Scarlett builds.

See the pre-release and shader commands. Leonida and ScarlettX are credited as references in CREDITS.md.

Merge

Reversible via a Git revert. The changes add local diagnostics, shader preparation and optional shader tests.

**@⁠edupode** on GitHub · 2026-11-21 19:08 UTC · [original](https://github.com/edupode/anyxboxseries/pull/1) `edupode:feature/d3d12-shader-bringup` → `main` · +2138 −66 · 27 files · 5 commits · merged 2026-11-21 23:57 UTC ## Summary ```text DXBC / XDAT / XBCH → FSSM → scalar RDNA 2 → HLSL → cs_6_6 DXIL → Direct3D 12 readback MicrosoftGame.Config or AppxManifest.xml → launch executable → DUMPBIN + SHA-256 + direct import gaps ``` The Windows shader probe builds and clones a triangle BLAS, builds a TLAS and checks an inline DXR hit and miss. The shader tools and diagnostics keep the existing Direct3D 12 backend. ## Evidence - **Before:** `b631794` exercised the basic graphics and Signal Run paths. Shader translation and manifest selection were absent. - **After:** `ctest --test-dir build --output-on-failure` with `WSX_DXC_DIR` set passed 13/13. `python -m unittest discover -s tools` passed 13/13. - The extracted ZIP ran the translated fixture on the RTX 5070 Ti Laptop GPU and ran DXR on that GPU and in WARP. All three runs with `--debug` reported zero D3D12 debug layer errors. Both adapters reported DXR tier 1.2 on this machine. - The manifest test verified an AMD64 executable, a matching candidate shim export and the executable hash. The local Scarlett package check found the declared executable missing and six `xmem.dll` import records without a shim. - The standalone fixture validates scalar translation. Console pipeline and title startup still need authorized Scarlett builds. See [the pre-release](https://github.com/edupode/anyxboxseries/releases/tag/v0.4.0-preview.1) and [shader commands](docs/SHADERS.md). Leonida and ScarlettX are credited as references in `CREDITS.md`. ## Merge Reversible via a Git revert. The changes add local diagnostics, shader preparation and optional shader tests.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:37:09 +00:00
github manually merged commit df3f16caa2 into gh-pr/1/base 2026-11-26 19:37:11 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.