Repository navigation
Detect unwritten and partial mesh compute sweep headers - #5651
kacper-serewis wants to merge 3 commits into
Conversation
…mesh-compute and compare (vk_ms_sweep, tools/ms_sweep.py)
|
Built and tested
No GPU run of the sweep itself; no game data. AI-assisted. |
|
Tested The runtime was cross-built with clang-cl and xwin ( Python
Synthetic end-to-end run of the runner, collector and fallback VS The slot writer is a hand-written GLSL compute shader for the test's
Each triangle sits in its own quadrant. The VS is this head's
Not run: real translated mesh shaders (no game files), the whole AI-assisted (Claude Code). |
|
Tested ce561c1 on Windows 11, AMD Radeon RX 9070 XT (RDNA4), driver 32.0.32029.2010: pass, with 2 timeouts to look at
AI-assisted (Claude Code). |
Depends on: #5072
Depends on: #4628
Tracker item ASSET-481, second claim in #5581 (comment). Review the final commit atop 5f6bb48.
Seed both count words in each workgroup slot. The collector reports untouched headers and each direction of partial write, excludes those slots from geometry statistics, and still accepts explicitly written zero counts. The fallback vertex shader clips incomplete slots. Rerun the compute sweep with the rebuilt runner and regenerated vertex shaders in a fresh output directory to measure header writes.
AI-assisted. Native Windows, NVIDIA GeForce RTX 5070, driver 616.56. One private cached compute shader explicitly wrote both zeros in all four slots. Synthetic skip-write, vertex-only zero, primitive-only zero and explicit-zero controls returned their expected raw count pairs in all four slots each. The generated vertex shader passed spirv-val. All 20 ms_sweep and 12 mesh_compute_vs CPU tests passed.