startup_stubs: add MSAA G-buffer/HDR and D24_UNORM_S8_UINT console plane sizing #1430
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1437"
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 tedin7 on 2026-11-24T11:30:42Z.
Summary
colour_texel_bytesinsrc/startup_stubs/console_plane_size.hto coverR32G32B32A32(16 B/texel),R16G16(4 B/texel),R32(4 B/texel),R16(2 B/texel), andR8/A8(1 B/texel) for MSAA 64 KiB tile sizing and alignment.console_plane_sizeto handle theR24G8/D24_UNORM_S8_UINTfamily (formats 44-47) using the 4-byte depth plane + 1-byte stencil plane 64 KiB tile contract, keeping desktop answers when the console size and alignment are not smaller or when desktop failed.tests/startup_plane_size_check.cppwith positive cases for all added colour/depth-stencil families, max-dimension non-overflow coverage, and negative controls.Verification
tests/startup_plane_size_check.cppwithx86_64-w64-mingw32-g++ -std=c++17 -Wall -Wextra -Werror -Isrcand ran Linux unit +--mutate packednegative control (24 answered, 29 left alone).git diff --check,tests/docs_links_check.py,tests/bidi_controls_check.py, andx2w_pipe.py preflight(VERDICT: OK).AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T11:38:52Z.
Review: COMMENTED
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
a687955898ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T11:45:53Z.
Review: COMMENTED
No description provided.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T11:34:32Z.
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
a6879558982737bf75e9459e4b99b5afe93297b0:--preset dev):cmake --build --preset dev --target startup_plane_size_check startup_plane_size_device_check d3d12_xs_shim -- -j 6):24.92s(configure1.72s)ctest --preset dev -R '^(startup_plane_size|startup_plane_size_packed_control|startup_plane_size_device_warp)$' --parallel 4 --no-tests=error --output-on-failure): 3/3 passed (0.15s:startup_plane_size0.02s,startup_plane_size_packed_control0.01s,startup_plane_size_device_warp0.07s)/O2(--preset release):cmake --build --preset release --target startup_plane_size_check startup_plane_size_device_check d3d12_xs_shim -- -j 6):36.33s(configure1.63s)ctest --preset release -R '^(startup_plane_size|startup_plane_size_packed_control|startup_plane_size_device_warp)$' --parallel 4 --no-tests=error --output-on-failure): 3/3 passed (0.14s:startup_plane_size0.01s,startup_plane_size_packed_control0.01s,startup_plane_size_device_warp0.07s)sccache: 0/6 hits; wall70.6sImported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T11:34:46Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
a687955ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T11:38:52Z.
Code review location:
src/startup_stubs/console_plane_size.h; line 75This expands the observable behavior of both device allocation-info entries to R24G8 and additional MSAA colour families, but neither the relevant README row nor
docs/experiments.mdis updated.AGENTS.mdexplicitly requires a documentation update when a public capability changes. Add the new coverage and reproduction command, distinguishing the device-independent fixture results from the Windows device verification that the commit message says is still pending, so contributors can identify what is supported and what was actually validated.AGENTS.md reference: AGENTS.md:L190-L191
Useful? React with 👍 / 👎.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T11:45:53Z.
Code review location:
src/startup_stubs/console_plane_size.h; line 75Fixed in
eba22f70and5a71e682:docs/startup-runtime.md("Allocation sizes for depth with stencil and multisampled textures") now lists the covered formats including R24G8 and the added MSAA colour families, and separates the device-independent fixture result (startup_plane_size) from the Windows device check (startup_plane_size_device_, passed on Windows Server 2025 WARP/hardware, Debug and Release), with the reproduction commands.