tests: follow the shared word3 decoder in draw preflight #2762

Manually merged
github merged 1 commit from gh-pr/2762/head into gh-pr/2762/base 2026-11-27 01:20:51 +00:00
Owner

@⁠R0Y00 on GitHub · 2026-11-26 06:35 UTC · original
R0Y00:codex/word3-preflight-check → main · +11 −2 · 1 files · 1 commits · merged 2026-11-26 06:42 UTC

On current main the vertex-fetch control still expects the inline FORMAT guard. #2596 moved that guard to the shared word3 decoder. Keep checking the draw call order, readability and token handling, and test both the call into the shared decoder and the FORMAT guard in it. Both removals are separate negative controls. The patch changes only the test.

On Windows 11 build 26200 at base e3cf6a91 plus this test change, python -B tests/startup_vertex_fetch_formats_check.py controls passed. Refs #2596 and #2006.

**@⁠R0Y00** on GitHub · 2026-11-26 06:35 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2762) `R0Y00:codex/word3-preflight-check` → `main` · +11 −2 · 1 files · 1 commits · merged 2026-11-26 06:42 UTC On current main the vertex-fetch control still expects the inline FORMAT guard. #2596 moved that guard to the shared word3 decoder. Keep checking the draw call order, readability and token handling, and test both the call into the shared decoder and the FORMAT guard in it. Both removals are separate negative controls. The patch changes only the test. On Windows 11 build 26200 at base e3cf6a91 plus this test change, python -B tests/startup_vertex_fetch_formats_check.py controls passed. Refs #2596 and #2006.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:20:49 +00:00
github manually merged commit 48be37c31f into gh-pr/2762/base 2026-11-27 01:20:51 +00:00
Author
Owner

@⁠tedin7 on GitHub · 2026-11-26 06:42 UTC · original · reviewed

Review of head 48be37c3 (test-only change, 1 file).

  • The control now checks both the call into the shared word3 decoder in the preflight and the FORMAT support check inside the decoder. Each removal is its own negative control.
  • Mutation: renaming formatted_buffer_supported( in src/startup_stubs/d3d12_draw.inl makes the check fail (AssertionError). Restored after.
  • Branch is up to date with main. python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py and git diff --check origin/main...HEAD are clean.
  • Win2025 (Build 26100, MSVC 14.44 + D3D12 WARP), ctest -R startup_vertex_fetch_formats: dev 3/3 and release 3/3 passed (startup_vertex_fetch_formats_controls, _warp, _hardware).
  • No other open or merged PR covers the same slice.

Looks sound. No blocking findings.

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-26 06:42 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2762#pullrequestreview-6069618840) · **reviewed** Review of head 48be37c3 (test-only change, 1 file). - The control now checks both the call into the shared word3 decoder in the preflight and the FORMAT support check inside the decoder. Each removal is its own negative control. - Mutation: renaming `formatted_buffer_supported(` in `src/startup_stubs/d3d12_draw.inl` makes the check fail (AssertionError). Restored after. - Branch is up to date with main. `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py` and `git diff --check origin/main...HEAD` are clean. - Win2025 (Build 26100, MSVC 14.44 + D3D12 WARP), `ctest -R startup_vertex_fetch_formats`: dev 3/3 and release 3/3 passed (`startup_vertex_fetch_formats_controls`, `_warp`, `_hardware`). - No other open or merged PR covers the same slice. Looks sound. No blocking findings. AI-assisted; commands listed were executed locally.
Author
Owner

@⁠tedin7 on GitHub · 2026-11-26 06:42 UTC · original

Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit 48be37c31f3f278f72d59cd47e9c9fd89f6b3ba1:

  • Debug (--preset dev):
    • Test (ctest --preset dev -R 'startup_vertex_fetch_formats' --parallel 6 --no-tests=error --output-on-failure): 3/3 passed (startup_vertex_fetch_formats_controls, startup_vertex_fetch_formats_warp, startup_vertex_fetch_formats_hardware)
  • Release /O2 (--preset release):
    • Test (ctest --preset release -R 'startup_vertex_fetch_formats' --parallel 6 --no-tests=error --output-on-failure): 3/3 passed (same three tests)
  • Wall: 27.8s

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-26 06:42 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2762#issuecomment-7184703407) Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `48be37c31f3f278f72d59cd47e9c9fd89f6b3ba1`: - **Debug (`--preset dev`)**: - Test (`ctest --preset dev -R 'startup_vertex_fetch_formats' --parallel 6 --no-tests=error --output-on-failure`): **3/3 passed** (`startup_vertex_fetch_formats_controls`, `startup_vertex_fetch_formats_warp`, `startup_vertex_fetch_formats_hardware`) - **Release `/O2` (`--preset release`)**: - Test (`ctest --preset release -R 'startup_vertex_fetch_formats' --parallel 6 --no-tests=error --output-on-failure`): **3/3 passed** (same three tests) - Wall: `27.8s` AI-assisted; commands listed were executed locally.
This discussion has been locked. Commenting is limited to contributors.
No description provided.