Skip to content

gpu: test descriptor windows across two submissions - #1054

Merged
R0Y00 merged 1 commit into
R0Y00:mainfrom
Jess-Doit:test/descriptor-window-submissions
Nov 23, 2026
Merged

R0Y00 merged 1 commit into
R0Y00:mainfrom
Jess-Doit:test/descriptor-window-submissions

Conversation

@Jess-Doit

Copy link
Copy Markdown
Contributor

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

@R0Y00
R0Y00 enabled auto-merge November 23, 2026 23:50
@R0Y00
R0Y00 merged commit 1a6425e into R0Y00:main Nov 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants