tests: cover gfx1013 rectangle geometry expansion #3697
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3697
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3695"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Ammmae0x on GitHub · 2026-12-01 02:54 UTC · original
Ammmae0x:tests/gfx1013-rect-geometry→main· +1095 −0 · 5 files · 1 commits · merged 2026-12-01 03:12 UTCRefs #1149
Direct tests for
x2w::native_rectangle_geometry(src/gfx1013_rect_geometry.cpp) with zero edits to existing files (5 new files only, +1095/-0; portable C++17 needing onlytests/gfx1013_rect_geometry_check.cpp+src/gfx1013_rect_geometry.cpp).19 cases: 8 valid paths pinning structural DXIL IR invariants (load/store counts, the exact
viewIdStatedependency matrix, the axis and right-angle corner guards, flat promotion, the sparseusedmask with a nonzerofirstoffset, and theemitStream/cutStream/gs finish) and 11 refusals pinning the exactUnsupportedComputeShadermessages (numeric barycentrics, the four unsupported-interface conditions, the five incomplete-position conditions, and the missing position). CMake registers one CTest test per case plusgfx1013_rect_geometry_alland 5WILL_FAIL TRUEcopy mutations (barycentrics, interface, position, missing position, flat). The meta check compiles and runs the real C++ check withg++ -std=c++17and each mutant copy the same way.Linux (this host,
g++ -std=c++17):tests/gfx1013_rect_geometry_meta_check.py:PASS: gfx1013 rect geometry: 19 cases, 5/5 real C++ mutations killedtests/form_coverage_check.py: passedtests/docs_links_check.py:Checked 198 Markdown files and 765 linkstests/bidi_controls_check.py:Checked 2793 tracked source, script and build/CI files: no bidirectional controlsgit diff --check: cleanCaveat: no mingw on this host, so no Windows compile check; WIN-VERIFY run is the arbiter.
Windows Verification (
f523b02f98b545b6cdd2dd8b13e62d5fc87df8c2)AI-assisted.
@R0Y00 on GitHub · 2026-12-01 03:11 UTC · original · approved these changes
Reviewed the source-built rectangle expansion and interface checks, including the CMake mutation controls for position, barycentrics and flat parameters.
ctest --test-dir <build> --no-tests=error -j1 -R '^gfx1013_rect_geometry_' --output-on-failurepassed in the Windows integration.