gpu: test descriptor windows across two submissions #1054

Manually merged
github merged 1 commit from gh-pr/1054/head into gh-pr/1054/base 2026-11-26 22:38:02 +00:00
Owner

@⁠Jess-Doit on GitHub · 2026-11-23 23:33 UTC · original
Jess-Doit:test/descriptor-window-submissions → main · +200 −0 · 6 files · 1 commits · merged 2026-11-23 23:50 UTC

Change

Refs #874. Use #829's submit, signal, wait and reset sequence with two descriptor-table windows at opposite ends of one shader-visible heap. Check both output words after each fence. The stale control keeps the first window bound on submission two and must change only the second word.

Verification

Tested 7239f86 on Windows 10 22H2 19045.6456 with MSVC 19.44 x64 and SDK 10.0.26100. GTX 1060 6 GB (32.0.15.6094) and in-box WARP (10.0.19041.5794) both returned S_OK for 1,000,000 descriptors. Neither reported an OPTIONS19 limit. Both observed fences 1 and 2. The second word was 2468ace0 normally and 13579bdf with the stale binding. Debug and Release each passed nine focused tests with zero skips and zero D3D12 warnings or errors in the descriptor-window cases.

cmake --preset dev
cmake --build --preset dev --target offscreen_check --parallel 4
$env:XBOX2WINDOWS_ADAPTER='1060'
ctest --preset dev --no-tests=error -R '^(descriptor_window_.*|(dual_uav|offscreen)_(hardware|warp)|offscreen_capability_table_self_test)$' -V

Repeat with release. git diff --check, python -I -B tests/docs_links_check.py and python -I -B tests/bidi_controls_check.py also passed.

Evidence and follow-up

The MIT-licensed cs_6_0 fixture uses two generated DWORDs and stock D3D12. The experiments documentation records both fence snapshots and the exact heap size used. Maintainer request

Checklist

  • This pull request covers one reviewable behavior.
  • I included the commands and results for verification.
  • I added a stale-window control.
  • I updated the experiments documentation.
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted (Codex).

**@⁠Jess-Doit** on GitHub · 2026-11-23 23:33 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/1054) `Jess-Doit:test/descriptor-window-submissions` → `main` · +200 −0 · 6 files · 1 commits · merged 2026-11-23 23:50 UTC ## Change Refs #874. Use #829's submit, signal, wait and reset sequence with two descriptor-table windows at opposite ends of one shader-visible heap. Check both output words after each fence. The stale control keeps the first window bound on submission two and must change only the second word. ## Verification Tested `7239f86` on Windows 10 22H2 `19045.6456` with MSVC 19.44 x64 and SDK 10.0.26100. GTX 1060 6 GB (`32.0.15.6094`) and in-box WARP (`10.0.19041.5794`) both returned `S_OK` for 1,000,000 descriptors. Neither reported an OPTIONS19 limit. Both observed fences 1 and 2. The second word was `2468ace0` normally and `13579bdf` with the stale binding. Debug and Release each passed nine focused tests with zero skips and zero D3D12 warnings or errors in the descriptor-window cases. ```powershell cmake --preset dev cmake --build --preset dev --target offscreen_check --parallel 4 $env:XBOX2WINDOWS_ADAPTER='1060' ctest --preset dev --no-tests=error -R '^(descriptor_window_.*|(dual_uav|offscreen)_(hardware|warp)|offscreen_capability_table_self_test)$' -V ``` Repeat with `release`. `git diff --check`, `python -I -B tests/docs_links_check.py` and `python -I -B tests/bidi_controls_check.py` also passed. ## Evidence and follow-up The MIT-licensed `cs_6_0` fixture uses two generated DWORDs and stock D3D12. The experiments documentation records both fence snapshots and the exact heap size used. [Maintainer request](https://git.gtahub.st/github/R0Y00--Xbox2Windows/issues/874) ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the commands and results for verification. - [x] I added a stale-window control. - [x] I updated the experiments documentation. - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted (Codex).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 22:38:00 +00:00
github manually merged commit 7239f8600d into gh-pr/1054/base 2026-11-26 22:38:02 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.