Skip to content

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

Merged
tedin7 merged 1 commit into
mainfrom
codex/word3-preflight-check
Nov 26, 2026
Merged

tedin7 merged 1 commit into
mainfrom
codex/word3-preflight-check

Conversation

@R0Y00

@R0Y00 R0Y00 commented Nov 26, 2026

Copy link
Copy Markdown
Owner

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 e3cf6a9 plus this test change, python -B tests/startup_vertex_fetch_formats_check.py controls passed. Refs #2596 and #2006.

@R0Y00
R0Y00 requested a review from MasterDomino November 26, 2026 06:41

@tedin7 tedin7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of head 48be37c (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

tedin7 commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

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
tedin7 merged commit f0101e7 into main Nov 26, 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