startup: add 32-bit integer and float render-target variants for translated pixel stages #2140
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2148"
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-25T01:43:52Z.
Part of #1999
What this unblocks: translated pixel stages can now write R32G32B32A32, R32G32 and R32 integer targets and R32G32/R32 float targets (item F), not only R32 integer and RGBA32 float.
Changes:
tools/startup/gfx2hlsl.py:mrt_kindaccepts UINT/SINT formats 3, 17, 42 and 4, 18, 43 (all channels 32 bits wide, so export words are the stored words). 8/16-bit integer formats stay refused (unverified UINT/SINT RTV format <n>).tests/startup_stream_setup.*,startup_stream_draw.cpp,startup_stream_consumer.cpp: onestream_mrt_formattable (typeless resource, bytes per pixel) replaces the R32-only special cases.tests/startup_mrt_check.py(existingstartup_mrt_{fxc,dxc}_{warp,hardware}): exact readback of every stored word for each new integer format (second UNORM target kept), exact float words with NaN payload and negative denormal for R32G32_FLOAT / R32_FLOAT, plus refusal controls for eight narrow integer formats (no manifest written) and the existing stale-signedness control.tests/startup_gfx2hlsl_export_mask_check.py: signature and refusal checks without a device.docs/startup-runtime.mdupdated.Verification:
python3 -B tests/startup_gfx2hlsl_export_mask_check.py-> 0 failed;python3 -B tests/docs_links_check.py-> pass;python3 -B tests/startup_gfx2hlsl_refusals_check.py-> pass.ctest --preset release --no-tests=error -R "^startup_mrt_"is still to be executed, and the C++ test changes are uncompiled. This stays Draft until it passes.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T02:33:24Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
a298821ℹ️ 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.