gpu: test descriptor windows across two submissions #1047

Merged
Jess-Doit merged 1 commit from upstream-pr/1054 into main 2026-11-23 23:50:59 +00:00
Jess-Doit commented 2026-11-23 23:33:45 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T23:33:45Z.


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).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6571071827 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1054). Originally posted by [Jess-Doit](https://github.com/Jess-Doit) on 2026-11-23T23:33:45Z. --- ## 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://github.com/R0Y00/Xbox2Windows/issues/874#issuecomment-7116042923) ## 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).
upstream-sync closed this pull request 2026-11-24 06:46:02 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!1047
No description provided.