Repository navigation
GPU skips empty host submissions - #1424
BaggyALPHA wants to merge 1 commit into
Conversation
|
Tested this on a GPU with SM 6.6 support (RTX 4070 SUPER, driver 621.14, Windows 11, repo toolchain), merged into current
I didn't test with game data. Tested locally with an AI-assisted script (Claude Code); I checked the results before posting. |
Review workers over ~45 more PRs against the merged upstream tree. Integrated: Marvisak#1394 (antisymmetric XUserCompare), Marvisak#1390 (A8_UNORM is not in the R8 typeless family), Marvisak#1499 (deep 3D mips stay out of the thick tail, plus a regression test the PR lacked), Marvisak#1366 (mesh stage I/O does not parse VS inputs), Marvisak#1594 (the title's exit status reaches the shell), Marvisak#1299 (docs: validator prerequisite), Marvisak#1515 (dialog commands before init), Marvisak#1424 (empty submissions skip the lock), Marvisak#1144 (shader differential skips are reported), Marvisak#1129 (64 MB pipeline-worker stacks), Marvisak#1564/Marvisak#1565/Marvisak#1566 (MakeResident, Evict and SetStablePowerState succeed as the console's do), Marvisak#1250 (a zero element count reads to the end of the buffer), Marvisak#1628 (texture-creation failure logs its states). Re-applied after the upstream merge dropped them: f32_to_half NaN and ties-to-even (Marvisak#843), unique-temp library writes (Marvisak#1660), VICTORY_PIPELINE_WORKERS (Marvisak#1728), VICTORY_MODE (Marvisak#1701). Removed: the orphaned depth-bounds test file, whose implementation (9a6d9e6) the merge dropped and which no module compiled. Refused: Marvisak#1099 (writing 0 for an unpaired p1 interpolation computes wrong values; two reviewers upstream and one here reached the same conclusion). Duplicates: Marvisak#1217, Marvisak#529, Marvisak#531, Marvisak#590, Marvisak#1102, Marvisak#398, Marvisak#1150, Marvisak#1220. Gate at efda2c5: fmt 0 differing, both Clippy gates 0 errors, policy 219 files, workspace 674 passed / 0 failed with the 10 documented pre-existing GPU skips.
|
Automated triage for the maintainers. Recommended for a maintainer's look. Generated by Claude Code |
4ef9371 to
7f6496c
Compare
|
Rebased onto On Windows, the focused synthetic empty-submission test and asset-policy check passed. The broader host filter hit a descriptor-heap test failure, which reproduced on the same upstream base without this PR. No game files were used. AI-assisted (OpenAI Codex). |
|
Test report: RTX 5060 Ti (Blackwell), Windows 11 Pro 26200, driver 621.24. Branch at |
|
Automated triage for the maintainers, second look (a review against current Closing because the case can no longer occur on If this is mistaken, reply here with what was missed and it will be looked at again. Thank you for the contribution. |
Marvisak PR Marvisak#1424 (BaggyALPHA), from the PR-merge line: a frame with no list to run waited on the host fence anyway. execute returns before taking the submission lock, with a test that an empty submission leaves the fence untouched.
Addresses item 35 (VIC-BT-035) in #1242. A queue submission can have zero host lists after filtering. The host now returns before taking the submission lock or calling D3D12 when there are no lists. Previously this path still incremented the submission counter, signaled the host fence and waited for it.
The synthetic regression creates an isolated host queue and checks both the submission counter and the completed fence. On upstream WARP they advanced from zero to one for an empty batch. Both remain at zero with the fix. The GPU suite passed on Windows with WARP (54 passed, one ignored) and the default hardware adapter (51 passed, one ignored). Clippy with all targets and features and the asset-policy hook passed.
AI-assisted (Codex).