Integrate mesh translation, D3D12 rendering and memory handling #2603
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!2603
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2603"
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?
@denn0x on GitHub · 2026-11-25 22:47 UTC · original
denn0x:startup/rendering-integration→main· +43703 −2922 · 199 files · 2 commits · closed without mergingThis draft groups the renderer and shader translator changes so contributors can fetch one branch and test the components together.
The Windows release build succeeded for the renderer, XMem, storage, stream, mesh and retirement fixture targets. The selected WARP suite recorded 59 passes and seven skips across 66 tests. Focused shader checks passed for integer pack conversion, scalar literal flow, embedded tables, mask lineage, descriptor words and quad operations.
One graphics regression remains in the full D16 image-load fixture. A pixel export that references an uninitialized entry register is rejected during input validation. Full-suite and end-to-end rendering verification are still pending. This branch uses shader-cache revision 3. Use a separate cache directory when switching from upstream.
@SimSalabimse on GitHub · 2026-11-25 23:16 UTC · original
Host retest on
993603d8(retire + budget + FakeUser + Render + Translate, HostCpu / MemoryGiB 40).Vs tip
bee07b90(same recipe): tip reached in-scene UI over solid magenta (presentmean ~170). This draft reaches UI over black (presentmean ~0.6 late); loading/clear also black where tip showed color.bee07b90993603d8not-implemented)Shaders were not cold-cache (55 pipelines translated, 1407 textures). Scene mesh still never executes; diagnostic magenta clear looks gone.
Happy to retest once
mesh executed/ forwarded > 0. Until then staying on tip for daily runs.@tedin7 on GitHub · 2026-11-26 00:36 UTC · original
@denn0x I tried a full Windows Server 2025 run of this branch at head
8634f27b(D3D12 WARP, MSVC 14.44.35207, dev and release presets, all targets, full ctest). It stops before the build, on two things that are quick to fix:CMake configure fails: duplicate test name.
startup_image_sample_dis registered twice inCMakeLists.txt: once at line 3402 (the standaloneadd_test(NAME startup_image_sample_d ...)that came frommainwith #2082) and once through theforeach(check IN ITEMS ... image_sample_d ...)list at line 3430.Dropping
image_sample_dfrom thatforeachlist (or the standalone pair at 3402-3403, if both run the same script) should be enough.tests/startup_buffer_address_check.pyfails on this head (also on Linux,python3 tests/startup_buffer_address_check.py):So the formatted MUBUF request control now hits the pixel-stage SPI input refusal before the load it means to test.
Once the configure error is gone I can run the full dev + release suite on the new head and post the pass/fail list here, separated from the failures that also happen on current
mainon this machine (no physical GPU, no desktop session).Commands executed:
AI-assisted; commands listed were executed locally.
@roansystemlabs on GitHub · 2026-11-26 01:19 UTC · original
@denn0x this draft now carries slot 57 depth-only draws without a pixel stage,
pos1as clip distance, cull and front-face state, and the wave-levelexeczscalar handling. Before anyone claims more slot 57 items on #2413, could you say which of these you plan to split into their own PRs, and which are open for others to take as focused slices? In particular: the depth-only mesh draw without a pixel stage with a depth readback (we could add it as a second arm of the D32 fixture we are building on #2606), andpos1as clip distance intranslate_mesh57. If you'd rather keep them, no problem, we'll stay out of that area.AI-assisted.
@tedin7 on GitHub · 2026-11-27 09:36 UTC · original
This PR now conflicts with
main. Conflicting files:CMakeLists.txtsrc/startup_stubs/d3d12_draw.inlsrc/startup_stubs/d3d12_present.inlsrc/startup_stubs/d3d12_xs_device.cppsrc/xmem_mapped_pages.cpptests/startup_image_sample_l_check.pytests/startup_resource_retire_title.cpptests/startup_stream_draw.cpptools/startup/gfx2hlsl.pyCould you merge
maininto your branch (a merge commit, no force push needed) and resolve these? Thank you.AI-assisted; commands listed were executed locally. (
git merge-tree origin/main <head>)Pull request closed