startup: translate and publish pending slot 86 mesh requests #3728
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3728"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-12-01T11:55:18Z.
Problem
Pending slot 86 mesh requests were never translated: the launcher/translator published graphics and compute requests, but no mesh86 profile, so scene ExecuteIndirect mesh keys were refused
graphics/mesh_profile_missing.Change
tools/startup/mesh86_translate.py: scan pendingreq_<key>.m86/.ps86/.root/.stream86, compile the pair withcompile_dxil, and publish the profile throughmesh86_cache.publish(heap-buffer window when the root proves one).gfx2hlsl.py --pendingdispatches the mesh86 translator;run.ps1runs it in the background translation step.Tests
ctest --preset release --no-tests=error -R '^startup_mesh86_translate_' -V— 2/2 on WARP and RX 9060 XT.Limits
Source-built request; no title scene is claimed. The translator covers the request shapes exercised by the fixture; the remaining scene keys still need their requests/captures.
Refs #3641, #3545, #870
Imported from R0Y00/Xbox2Windows. Originally posted by lambirou on 2026-12-02T14:45:39Z.
Review: COMMENTED
Reviewed
dd7a038d; read the watcher integration, translator and fixture, not built here.Verdict: approve. The
.m86request is translated only when the Mesh86 compiler is enabled, the manifest/stage readiness check covers the PS-less and pixel-bearing cases, and the watcher writes a named.failinstead of a marker when translation refuses. The source-built translation fixture covers the published profile.translate_pending()counts failures, butmain()ignores the return value and exits 0 for--once. A one-shot CI or scripted run cannot distinguish "nothing pending" from "every request failed". Return nonzero whentranslate_pending()reports failures.translate_request()catchesMesh86Unsupported,OSError,UnicodeErrorandstruct.error, but_mesh_plan()inmesh86_translate.pycan raiseKeyErroron a malformed compiler report. That exception escapes the per-request watcher loop and can stop the translator. Convert missing report fields toUnsupportedso one bad request only writes its own.fail.pending_keys()treats a zero-length.ps86as PS-less; that matches the runtime marker convention, but a short comment beside thehas_pixelcheck would make it explicit.manifest_onlydoes not skip Mesh86 stage validation; the publisher is called only after every expected stage exists and is non-empty.The translator is independent of the HTTP title run; it is a cache-side tool with the stated DXC/compiler preconditions.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-02T16:21:52Z.
Review: COMMENTED
I trial-merged
22762f72with main6e3a181blocally. The sole conflict wasCMakePresets.json; keeping the currentprfilter and addingstartup_mesh86_translate_warpresolved it. MSVC Debugctest --preset dev --no-tests=error -j 1 -V -R '^startup_mesh86_translate_(warp|hardware)$': hardware passed publication, desktop PSO creation and the malformed key/unproven root controls. WARP failed before translation,expected one pending slot 86 request, found []. This matches the missing.m86symptom seen in other WARP jobs on a baseline that already includes #3854. Please keep the archive acquisition failure visible in the fixture while updating the branch.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-02T18:41:55Z.
Review: CHANGES_REQUESTED
Re-tested the current
9dbf8302on Windows 11 build 26300 with MSVC Debug:ctest --preset dev --no-tests=error --output-on-failure -j 1 -R '^startup_mesh86_translate_(warp|hardware)$'. RTX 4060 Laptop (32.0.16.1656) passed. Inbox WARP (10.0.26100.9818, D3D12 debug layer on) again failed before translation withexpected one pending slot 86 request, found [], matching the previous trial merge. Please make this translation fixture acquire its seed request deterministically, for example using the fixture-local synchronous publication that #3727 uses. Keep the default async publication regression in #3822 and retain the malformed-key and unproven-root controls. The branch will also need to retain both Mesh86 entries in the PR smoke preset after #3727.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-02T19:30:31Z.
Review: COMMENTED
The shared publisher fix #3883 has landed as
23986134, so the default asynchronous fixture can now be rechecked on the fixed publisher. I tried GitHub's clean branch-update path, but the trial merge reports aCMakePresets.jsonconflict. Please refresh from main and keep both the new Mesh86 material checks andstartup_mesh86_translate_warp. I'll retest request acquisition and both refusal controls on the refreshed head.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-02T19:54:55Z.
Review: COMMENTED
I trial-merged
bc5e3ecdwith main1cd972cdlocally (tree46eeb5cb). The sole conflict was the PR filter. Keeping main's selections and addingstartup_mesh86_translate_warpregisters both Mesh86 presentation and translation. Windows 11 build 26300/MSVC Debugctest --preset dev --no-tests=error --output-on-failure -j 1 --repeat until-fail:3 -R '^startup_mesh86_translate_(warp|hardware)$'passed 6/6 on WARP and RTX 4060 Laptop, with default asynchronous publication and both refusal controls. This resolves the previously reproduced missing archive on the fixed baseline. The remote branch still needs the resolved main update and its own CI.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-02T20:12:20Z.
Review: APPROVED
Revalidated
0adfdef9after updating the branch without rewriting it. The sole conflict resolution preserves main's smoke selections and includesstartup_mesh86_translate_warpalongside the presentation test. On the exact head, MSVC Debugctest --preset dev --no-tests=error --output-on-failure -j 1 --repeat until-fail:3 -R '^startup_mesh86_translate_(warp|hardware)$'passed all six runs on Windows 11 build 26300, WARP 10.0.26100.9818 and RTX 4060 Laptop 32.0.16.1656. This covers default async request acquisition, successful translation/PSO and the refusal controls. The former missing.m86finding is addressed by the current publisher baseline.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-02T20:26:55Z.
Review: APPROVED
Rechecked
1462b735after #3697 landed. The only conflict wasCMakePresets.json. Theprpreset lists the merged XMem allocation test, the Mesh86 present test and the new Mesh86 translation test. The PR's other changes match the previously reviewed diff. Independent MSVC Debugctest --preset dev --no-tests=error -j 1 --output-on-failure -R '^(startup_mesh86_translate_(warp|hardware)|standin_exports_check)$'passed 3/3 on Windows 11 build 26300 with WARP and RTX 4060 Laptop. The GPU cases cover pending translation, publication and the refusal controls.