startup: give formatted buffer loads the word 3 of title-created typed views; add xyzw #2410

Merged
NiiRoZz merged 3 commits from upstream-pr/2418 into main 2026-11-25 20:03:55 +00:00
NiiRoZz commented 2026-11-25 16:07:43 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by NiiRoZz on 2026-11-25T16:07:43Z.


Refs #2138
Refs #2274

Follows #2138 (descriptor word 3 for buffer_load_format_x/xy/xyz), now merged.

Problem

#2138 takes word 3 (FORMAT and DST_SEL) only from a hardware buffer descriptor that the title wrote into a table. A typed buffer view that the title creates through the runtime (CreateShaderResourceView, BUFFER) leaves a view token in the table instead, so the draw is refused as "missing hardware descriptor". buffer_load_format_xyzw is still not translated.

Change

  • src/startup_stubs/buffer_format_word3.h (new, pure):
    • view_word3() builds word 3 the way the console driver does from the view. FORMAT comes from the DXGI format, for the 14 formats the switch decodes (R32G32B32A32_FLOAT is 77). DST_SEL comes from Shader4ComponentMapping: channels become 4 to 7, forced 0 and 1 become 0 and 1.
    • descriptor_word3_refusal() refuses a hardware word with a reserved DST_SEL (2 or 3).
    • The codes are the LLVM 15 llvm-mc -mcpu=gfx1013 encodings of the tbuffer format: operand and equal DESC_FORMAT_CODES.
  • src/startup_stubs/d3d12_draw.inl, in main's formatted_buffers_ready():
    • A view token that names a typed buffer SRV now resolves word 3 from the view. A raw or structured view, an undecoded view format and an invalid mapping refuse the draw with a logged reason.
    • A hardware word with a reserved DST_SEL refuses the draw.
    • A formatted buffer past the 16 MiB draw copy refuses the draw instead of reading zeros.
    • Every formatted-load refusal is counted as formatted-load draws refused in x2w-render totals. The existing log lines and reason strings are unchanged.
  • tools/startup/gfx2hlsl.py: buffer_load_format_xyzw uses the same switch with four registers.

Tests

Test What it checks
startup_buffer_format_word3_table (pure Python, added to the Linux job and AGENTS.md) The DXGI table equals DESC_FORMAT_CODES, agrees with FETCH_DXGI and with formatted_buffer_supported(). A header that gives R32G32B32A32_FLOAT code 74 must fail.
startup_buffer_format_word3 and _mapping_control (WILL_FAIL) Words and refusal reasons. The control ignores the view mapping.
startup_vertex_fetch_formats_{controls,warp,hardware} Three xyzw cases: identity, z and w defaults, and (w, 1, 0, x). Each must also fail through the xyz translation. The old "xyzw must stay refused" assertion is replaced by these.
startup_formatted_view_draw_{warp,hardware} (new) One source-built pixel stage reads element 1 with buffer_load_format_xyzw idxen into an R32G32B32A32_FLOAT target, compared as four 32-bit words. Eight title-created views: R32G32B32A32_FLOAT, R16G16B16A16_FLOAT, R16G16_FLOAT (z, w default), R16G16_SNORM (-32768 and 0), R32G32B32A32_FLOAT mapped (w, 0, x, 1), R8G8B8A8_UNORM mapped (z, 1, 0, w); R32_UINT and a raw view must refuse the draw with their reason and leave the clear value. Negative control: a translation whose W selector reads the Z field must fail. Runs with X2W_D3D12_DEBUG=1 and requires no debug message of severity 0 to 2.

Results

Commit under test: the head of this branch, rebased on main 7092683a. Windows 11 build 10.0.26300.10075. Debug layer on for startup_formatted_view_draw_* (asserted). Adapters: WARP 10.0.26100.10068 and NVIDIA GeForce RTX 5090, driver 32.0.16.2135.

ctest --preset dev --no-tests=error -R '^startup_(buffer_format_word3|buffer_format_word3_mapping_control|buffer_format_word3_table|formatted_view_draw_(warp|hardware)|buffer_address_(controls|warp|hardware)|vertex_fetch_formats_(controls|warp|hardware)|address_srv_(warp|hardware)|mubuf_descriptor_(warp|hardware)|stream_draw_(warp|hardware))$' -V

Expected: all pass. Observed: 17 of 17 passed, 0 failed, 0 skipped (no capability skip, exit 77, occurred). The hardware tests ran on the RTX 5090, the _warp tests on WARP. Also passing with the main-venv Python: docs_links_check, bidi_controls_check, git diff --check origin/main..HEAD empty.

Not covered

  • R16G16_UINT and R8G8B8A8_UINT are in the DXGI table (the table-equality test requires every decoded format to have one) but have no device case in startup_formatted_view_draw.
  • Other integer and typed DXGI formats still refuse the draw.
  • Out-of-range reads compared with the console are not measured.
  • How many real programs this unblocks is not measured.
  • The suites outside the list above were not run for this rebase.

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6608574012 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2418). Originally posted by [NiiRoZz](https://github.com/NiiRoZz) on 2026-11-25T16:07:43Z. --- Refs #2138 Refs #2274 Follows #2138 (descriptor word 3 for `buffer_load_format_x/xy/xyz`), now merged. ## Problem #2138 takes word 3 (FORMAT and DST_SEL) only from a hardware buffer descriptor that the title wrote into a table. A typed buffer view that the title creates through the runtime (`CreateShaderResourceView`, `BUFFER`) leaves a view token in the table instead, so the draw is refused as "missing hardware descriptor". `buffer_load_format_xyzw` is still not translated. ## Change - `src/startup_stubs/buffer_format_word3.h` (new, pure): - `view_word3()` builds word 3 the way the console driver does from the view. FORMAT comes from the DXGI format, for the 14 formats the switch decodes (`R32G32B32A32_FLOAT` is 77). DST_SEL comes from `Shader4ComponentMapping`: channels become 4 to 7, forced 0 and 1 become 0 and 1. - `descriptor_word3_refusal()` refuses a hardware word with a reserved DST_SEL (2 or 3). - The codes are the LLVM 15 `llvm-mc -mcpu=gfx1013` encodings of the tbuffer `format:` operand and equal `DESC_FORMAT_CODES`. - `src/startup_stubs/d3d12_draw.inl`, in main's `formatted_buffers_ready()`: - A view token that names a typed buffer SRV now resolves word 3 from the view. A raw or structured view, an undecoded view format and an invalid mapping refuse the draw with a logged reason. - A hardware word with a reserved DST_SEL refuses the draw. - A formatted buffer past the 16 MiB draw copy refuses the draw instead of reading zeros. - Every formatted-load refusal is counted as `formatted-load draws refused` in `x2w-render totals`. The existing log lines and reason strings are unchanged. - `tools/startup/gfx2hlsl.py`: `buffer_load_format_xyzw` uses the same switch with four registers. ## Tests | Test | What it checks | |---|---| | `startup_buffer_format_word3_table` (pure Python, added to the Linux job and AGENTS.md) | The DXGI table equals `DESC_FORMAT_CODES`, agrees with `FETCH_DXGI` and with `formatted_buffer_supported()`. A header that gives `R32G32B32A32_FLOAT` code 74 must fail. | | `startup_buffer_format_word3` and `_mapping_control` (WILL_FAIL) | Words and refusal reasons. The control ignores the view mapping. | | `startup_vertex_fetch_formats_{controls,warp,hardware}` | Three `xyzw` cases: identity, z and w defaults, and (w, 1, 0, x). Each must also fail through the xyz translation. The old "xyzw must stay refused" assertion is replaced by these. | | `startup_formatted_view_draw_{warp,hardware}` (new) | One source-built pixel stage reads element 1 with `buffer_load_format_xyzw idxen` into an `R32G32B32A32_FLOAT` target, compared as four 32-bit words. Eight title-created views: `R32G32B32A32_FLOAT`, `R16G16B16A16_FLOAT`, `R16G16_FLOAT` (z, w default), `R16G16_SNORM` (-32768 and 0), `R32G32B32A32_FLOAT` mapped (w, 0, x, 1), `R8G8B8A8_UNORM` mapped (z, 1, 0, w); `R32_UINT` and a raw view must refuse the draw with their reason and leave the clear value. Negative control: a translation whose W selector reads the Z field must fail. Runs with `X2W_D3D12_DEBUG=1` and requires no debug message of severity 0 to 2. | ## Results Commit under test: the head of this branch, rebased on `main` 7092683a. Windows 11 build 10.0.26300.10075. Debug layer on for `startup_formatted_view_draw_*` (asserted). Adapters: WARP 10.0.26100.10068 and NVIDIA GeForce RTX 5090, driver 32.0.16.2135. ```powershell ctest --preset dev --no-tests=error -R '^startup_(buffer_format_word3|buffer_format_word3_mapping_control|buffer_format_word3_table|formatted_view_draw_(warp|hardware)|buffer_address_(controls|warp|hardware)|vertex_fetch_formats_(controls|warp|hardware)|address_srv_(warp|hardware)|mubuf_descriptor_(warp|hardware)|stream_draw_(warp|hardware))$' -V ``` Expected: all pass. Observed: 17 of 17 passed, 0 failed, 0 skipped (no capability skip, exit 77, occurred). The hardware tests ran on the RTX 5090, the `_warp` tests on WARP. Also passing with the main-venv Python: `docs_links_check`, `bidi_controls_check`, `git diff --check origin/main..HEAD` empty. ## Not covered - `R16G16_UINT` and `R8G8B8A8_UINT` are in the DXGI table (the table-equality test requires every decoded format to have one) but have no device case in `startup_formatted_view_draw`. - Other integer and typed DXGI formats still refuse the draw. - Out-of-range reads compared with the console are not measured. - How many real programs this unblocks is not measured. - The suites outside the list above were not run for this rebase. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
KelboLive commented 2026-11-25 17:01:56 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-25T16:09:03Z.


APPROVED. Extended buffer loads with xyzw support.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7167637102 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2418#issuecomment-7167637102). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-11-25T16:09:03Z. --- APPROVED. Extended buffer loads with xyzw support.
upstream-sync closed this pull request 2026-11-25 20:04:09 +00:00
tedin7 commented 2026-11-25 20:04:09 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:46:45Z.

Review: COMMENTED


Review of head 9a91918d (after updating with main). Code and fixture tests only; this PR does not claim a game-startup result, and I did not run any game.

What I checked:

  • buffer_format_word3.h: pure word-3 builder and reserved DST_SEL refusal; the DXGI table matches DESC_FORMAT_CODES and the 14 decoded formats.
  • gfx2hlsl.py: buffer_load_format_xyzw now uses the same switch as the x/xy/xyz forms (four registers); the old compute-only guard is gone because the draw refuses undecodable formats first.
  • Tests: startup_formatted_view_draw_{warp,hardware} reads back real D3D12 output compared as 32-bit words, with a negative control (W selector reads Z) and refusal cases (R32_UINT, raw view). startup_vertex_fetch_formats gains three xyzw WARP cases. Sibling FETCH_DXGI / FETCH_FORMATS stay consistent (table test). No other open or merged PR covers xyzw or typed-view word 3 (#2138 is the merged base).
  • Not covered by the PR (it says so): R16G16_UINT and R8G8B8A8_UINT have no device case; out-of-range reads are not compared with the console.

Commands run (Linux, this head):

  • python3 -B tests/startup_buffer_format_word3_table_check.py, startup_vertex_fetch_formats_check.py, startup_buffer_address_check.py, startup_formatted_view_draw_check.py: all pass
  • python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py: ok
  • git diff --check origin/main...HEAD: clean
  • Mutation: R32G32B32A32_FLOAT code 77 changed to 74 in the header: table check fails (AssertionError, BUF_FMT_32_32_32_32_FLOAT)

No blocking findings. Win2025 WARP run follows separately.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6063955278 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2418#pullrequestreview-6063955278). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T19:46:45Z. **Review:** COMMENTED --- Review of head 9a91918d (after updating with main). Code and fixture tests only; this PR does not claim a game-startup result, and I did not run any game. What I checked: - `buffer_format_word3.h`: pure word-3 builder and reserved DST_SEL refusal; the DXGI table matches `DESC_FORMAT_CODES` and the 14 decoded formats. - `gfx2hlsl.py`: `buffer_load_format_xyzw` now uses the same switch as the x/xy/xyz forms (four registers); the old compute-only guard is gone because the draw refuses undecodable formats first. - Tests: `startup_formatted_view_draw_{warp,hardware}` reads back real D3D12 output compared as 32-bit words, with a negative control (W selector reads Z) and refusal cases (R32_UINT, raw view). `startup_vertex_fetch_formats` gains three xyzw WARP cases. Sibling `FETCH_DXGI` / `FETCH_FORMATS` stay consistent (table test). No other open or merged PR covers xyzw or typed-view word 3 (#2138 is the merged base). - Not covered by the PR (it says so): R16G16_UINT and R8G8B8A8_UINT have no device case; out-of-range reads are not compared with the console. Commands run (Linux, this head): - `python3 -B tests/startup_buffer_format_word3_table_check.py`, `startup_vertex_fetch_formats_check.py`, `startup_buffer_address_check.py`, `startup_formatted_view_draw_check.py`: all pass - `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py`: ok - `git diff --check origin/main...HEAD`: clean - Mutation: R32G32B32A32_FLOAT code 77 changed to 74 in the header: table check fails (AssertionError, BUF_FMT_32_32_32_32_FLOAT) No blocking findings. Win2025 WARP run follows separately. AI-assisted; commands listed were executed locally.
Makto94 commented 2026-11-25 20:04:45 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Makto94 on 2026-11-25T19:41:52Z.


Hardware run and Windows 11 MSVC build at head 76b211d8.

Environment: Windows 11 Pro build 26300.9974, Debug (dev preset), MSVC toolset 14.44.35207 (cl 19.44.35230.0). startup_stream_draw_hardware, startup_address_srv_hardware and startup_mubuf_descriptor_hardware print adapter=NVIDIA GeForce RTX 3070 Ti driver=32.0.16.2101; startup_mubuf_descriptor_hardware also prints x2w-d3d12 debug layer: 0x00000000 enabled. The other three hardware logs print neither line (see the last paragraph). The runs were serial (-j1). The PR body reports an RTX 5090 and WARP run, so this adds an RTX 3070 Ti (a different NVIDIA GPU generation).

Build: cmake --build --preset dev exited 0. This PR changes C++ (src/startup_stubs/, tests/), so the build was rerun at this head.

Tests, with the regex from the PR body:

  • ctest --preset dev --no-tests=error -j1 -R '^startup_(buffer_format_word3|buffer_format_word3_mapping_control|buffer_format_word3_table|formatted_view_draw_(warp|hardware)|buffer_address_(controls|warp|hardware)|vertex_fetch_formats_(controls|warp|hardware)|address_srv_(warp|hardware)|mubuf_descriptor_(warp|hardware)|stream_draw_(warp|hardware))$' -E hardware -V: 11/11 passed (startup_buffer_format_word3, startup_buffer_format_word3_mapping_control, startup_buffer_format_word3_table, startup_vertex_fetch_formats_controls, startup_buffer_address_controls, startup_vertex_fetch_formats_warp, startup_buffer_address_warp, startup_stream_draw_warp, startup_formatted_view_draw_warp, startup_address_srv_warp, startup_mubuf_descriptor_warp).
  • ctest --preset dev --no-tests=error -j1 -R '^startup_(buffer_format_word3|buffer_format_word3_mapping_control|buffer_format_word3_table|formatted_view_draw_(warp|hardware)|buffer_address_(controls|warp|hardware)|vertex_fetch_formats_(controls|warp|hardware)|address_srv_(warp|hardware)|mubuf_descriptor_(warp|hardware)|stream_draw_(warp|hardware))$' -N lists 6 hardware tests: startup_vertex_fetch_formats_hardware, startup_buffer_address_hardware, startup_stream_draw_hardware, startup_formatted_view_draw_hardware, startup_address_srv_hardware, startup_mubuf_descriptor_hardware.
  • ctest --preset dev --no-tests=error -j1 -R '^(startup_vertex_fetch_formats_hardware|startup_buffer_address_hardware|startup_stream_draw_hardware|startup_formatted_view_draw_hardware|startup_address_srv_hardware|startup_mubuf_descriptor_hardware)$' -V: 6/6 passed. 0 capability skips (77). Together with the 11 above, 17/17 passed, the same count as the PR body.

What the hardware tests print:

  • startup_formatted_view_draw_hardware: hardware: 8 typed-view cases through the translated buffer_load_format_xyzw. Six cases are bit-exact (R32G32B32A32_FLOAT, R16G16B16A16_FLOAT, R16G16_FLOAT, missing z and w, R16G16_SNORM, -32768 and 0, R32G32B32A32_FLOAT as (w, 0, x, 1), R8G8B8A8_UNORM as (z, 1, 0, w)). R32_UINT and raw view print refused and logged. The control a W selector read from the Z field fails (w = z) prints as expected.
  • startup_vertex_fetch_formats_hardware: 14 buffer formats with compared_words=320 mismatches=0 and 15 mutations that fail; 17 descriptor cases with 19 mutations that fail; 3 xyzw descriptor cases (descriptor xyzw, with missing z and w, read as w, 1, 0, x) with mismatches=0, each followed by the xyz form fails.
  • startup_buffer_address_hardware: 3 cases with mismatches=0, 4 controls and 4 translation mutations that fail as expected.
  • startup_stream_draw_hardware, startup_address_srv_hardware: exact pixels, as printed. startup_mubuf_descriptor_hardware: missing metadata, unsupported FORMAT and unresolved storage stayed blue; valid zero and one drew black and red.

The WARP counterparts print the same case lists (adapter=Microsoft Basic Render Driver, driver 10.0.26100.9818), for example warp: 8 typed-view cases through the translated buffer_load_format_xyzw.

Not covered by this run: the logs of startup_vertex_fetch_formats_hardware, startup_buffer_address_hardware and startup_formatted_view_draw_hardware print no adapter name, and only startup_mubuf_descriptor_hardware prints a debug-layer line, so I can not state the adapter or the debug-layer result for those from the logs (the PR body says startup_formatted_view_draw_* asserts the debug layer); no AMD or Intel GPU; no Release build; the R16G16_UINT and R8G8B8A8_UINT formats have no device case, as the PR body says under "Not covered"; the suites outside the regex were not run, as the PR body also says.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7172647874 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2418#issuecomment-7172647874). Originally posted by [Makto94](https://github.com/Makto94) on 2026-11-25T19:41:52Z. --- Hardware run and Windows 11 MSVC build at head `76b211d8`. Environment: Windows 11 Pro build 26300.9974, Debug (`dev` preset), MSVC toolset 14.44.35207 (cl 19.44.35230.0). `startup_stream_draw_hardware`, `startup_address_srv_hardware` and `startup_mubuf_descriptor_hardware` print `adapter=NVIDIA GeForce RTX 3070 Ti driver=32.0.16.2101`; `startup_mubuf_descriptor_hardware` also prints `x2w-d3d12 debug layer: 0x00000000 enabled`. The other three hardware logs print neither line (see the last paragraph). The runs were serial (`-j1`). The PR body reports an RTX 5090 and WARP run, so this adds an RTX 3070 Ti (a different NVIDIA GPU generation). Build: `cmake --build --preset dev` exited 0. This PR changes C++ (`src/startup_stubs/`, `tests/`), so the build was rerun at this head. Tests, with the regex from the PR body: - `ctest --preset dev --no-tests=error -j1 -R '^startup_(buffer_format_word3|buffer_format_word3_mapping_control|buffer_format_word3_table|formatted_view_draw_(warp|hardware)|buffer_address_(controls|warp|hardware)|vertex_fetch_formats_(controls|warp|hardware)|address_srv_(warp|hardware)|mubuf_descriptor_(warp|hardware)|stream_draw_(warp|hardware))$' -E hardware -V`: 11/11 passed (`startup_buffer_format_word3`, `startup_buffer_format_word3_mapping_control`, `startup_buffer_format_word3_table`, `startup_vertex_fetch_formats_controls`, `startup_buffer_address_controls`, `startup_vertex_fetch_formats_warp`, `startup_buffer_address_warp`, `startup_stream_draw_warp`, `startup_formatted_view_draw_warp`, `startup_address_srv_warp`, `startup_mubuf_descriptor_warp`). - `ctest --preset dev --no-tests=error -j1 -R '^startup_(buffer_format_word3|buffer_format_word3_mapping_control|buffer_format_word3_table|formatted_view_draw_(warp|hardware)|buffer_address_(controls|warp|hardware)|vertex_fetch_formats_(controls|warp|hardware)|address_srv_(warp|hardware)|mubuf_descriptor_(warp|hardware)|stream_draw_(warp|hardware))$' -N` lists 6 hardware tests: `startup_vertex_fetch_formats_hardware`, `startup_buffer_address_hardware`, `startup_stream_draw_hardware`, `startup_formatted_view_draw_hardware`, `startup_address_srv_hardware`, `startup_mubuf_descriptor_hardware`. - `ctest --preset dev --no-tests=error -j1 -R '^(startup_vertex_fetch_formats_hardware|startup_buffer_address_hardware|startup_stream_draw_hardware|startup_formatted_view_draw_hardware|startup_address_srv_hardware|startup_mubuf_descriptor_hardware)$' -V`: 6/6 passed. 0 capability skips (77). Together with the 11 above, 17/17 passed, the same count as the PR body. What the hardware tests print: - `startup_formatted_view_draw_hardware`: `hardware: 8 typed-view cases through the translated buffer_load_format_xyzw`. Six cases are `bit-exact` (`R32G32B32A32_FLOAT`, `R16G16B16A16_FLOAT`, `R16G16_FLOAT, missing z and w`, `R16G16_SNORM, -32768 and 0`, `R32G32B32A32_FLOAT as (w, 0, x, 1)`, `R8G8B8A8_UNORM as (z, 1, 0, w)`). `R32_UINT` and `raw view` print `refused and logged`. The control `a W selector read from the Z field fails (w = z)` prints as expected. - `startup_vertex_fetch_formats_hardware`: 14 buffer formats with `compared_words=320 mismatches=0` and 15 mutations that fail; 17 descriptor cases with 19 mutations that fail; 3 `xyzw` descriptor cases (`descriptor xyzw`, `with missing z and w`, `read as w, 1, 0, x`) with `mismatches=0`, each followed by `the xyz form fails`. - `startup_buffer_address_hardware`: 3 cases with `mismatches=0`, 4 controls and 4 translation mutations that fail as expected. - `startup_stream_draw_hardware`, `startup_address_srv_hardware`: exact pixels, as printed. `startup_mubuf_descriptor_hardware`: `missing metadata, unsupported FORMAT and unresolved storage stayed blue; valid zero and one drew black and red`. The WARP counterparts print the same case lists (`adapter=Microsoft Basic Render Driver`, driver 10.0.26100.9818), for example `warp: 8 typed-view cases through the translated buffer_load_format_xyzw`. Not covered by this run: the logs of `startup_vertex_fetch_formats_hardware`, `startup_buffer_address_hardware` and `startup_formatted_view_draw_hardware` print no adapter name, and only `startup_mubuf_descriptor_hardware` prints a debug-layer line, so I can not state the adapter or the debug-layer result for those from the logs (the PR body says `startup_formatted_view_draw_*` asserts the debug layer); no AMD or Intel GPU; no Release build; the `R16G16_UINT` and `R8G8B8A8_UINT` formats have no device case, as the PR body says under "Not covered"; the suites outside the regex were not run, as the PR body also says.
tedin7 commented 2026-11-25 20:04:48 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T20:02:44Z.


Win2025 WARP receipt for head 9a91918d after updating with main. Hardware variants not run (VM has only WARP).

Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit 9a91918d53050159f632516f08ac6de99e90358c:

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check startup_stream_consumer -- -j 2): 47.65s (configure 2.78s)
    • Test (ctest --preset dev -R '^startup_(buffer_format_word3|buffer_format_word3_mapping_control|buffer_format_word3_table|formatted_view_draw_warp|buffer_address_(controls|warp)|vertex_fetch_formats_(controls|warp)|address_srv_warp|mubuf_descriptor_warp|stream_draw_warp)$' --parallel 2 --no-tests=error --output-on-failure): 11/11 passed (38.63s: startup_buffer_address_warp 2.33s, startup_stream_draw_warp 3.19s, startup_mubuf_descriptor_warp 1.36s, startup_address_srv_warp 0.80s, startup_buffer_address_controls 0.66s, startup_vertex_fetch_formats_controls 0.18s, startup_buffer_format_word3 0.05s, startup_buffer_format_word3_mapping_control 0.01s, startup_buffer_format_word3_table 0.12s, startup_formatted_view_draw_warp 2.81s, startup_vertex_fetch_formats_warp 38.09s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check startup_stream_consumer -- -j 2): 93.92s (configure 2.27s)
    • Test (ctest --preset release -R '^startup_(buffer_format_word3|buffer_format_word3_mapping_control|buffer_format_word3_table|formatted_view_draw_warp|buffer_address_(controls|warp)|vertex_fetch_formats_(controls|warp)|address_srv_warp|mubuf_descriptor_warp|stream_draw_warp)$' --parallel 2 --no-tests=error --output-on-failure): 11/11 passed (19.60s: startup_stream_draw_warp 2.49s, startup_buffer_address_warp 1.73s, startup_mubuf_descriptor_warp 0.88s, startup_address_srv_warp 0.54s, startup_buffer_address_controls 0.44s, startup_vertex_fetch_formats_controls 0.13s, startup_buffer_format_word3 0.03s, startup_buffer_format_word3_mapping_control 0.01s, startup_buffer_format_word3_table 0.10s, startup_formatted_view_draw_warp 1.75s, startup_vertex_fetch_formats_warp 19.48s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (0.7s), tests/startup_buffer_address_check.py ok (0.5s), tests/startup_buffer_format_word3_table_check.py ok (0.1s), tests/startup_compute_request_offline_check.py ok (0.5s), tests/startup_compute_translate_check.py ok (0.2s), tests/startup_flat_param_check.py ok (0.1s), tests/startup_gfx2hlsl_add_sub_co_check.py ok (0.1s), tests/startup_gfx2hlsl_add_sub_co_ci_check.py ok (0.2s), tests/startup_gfx2hlsl_bit_alu_check.py ok (0.7s), tests/startup_gfx2hlsl_capture_check.py ok (1.1s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.3s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.4s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.1s), tests/startup_gfx2hlsl_f32_lg_check.py ok (1.3s), tests/startup_gfx2hlsl_f32_nan_check.py ok (5.1s), tests/startup_gfx2hlsl_getpc_refusal_check.py ok (0.1s), tests/startup_gfx2hlsl_handler_arity_check.py ok (0.1s), tests/startup_gfx2hlsl_image_arity_check.py ok (0.1s), tests/startup_gfx2hlsl_image_get_lod_check.py ok (0.1s), tests/startup_gfx2hlsl_int_med3_check.py ok (0.1s), tests/startup_gfx2hlsl_join_symbols_check.py ok (0.2s), tests/startup_gfx2hlsl_loop_constants_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_overwrite_check.py ok (0.1s), tests/startup_gfx2hlsl_operand_count_check.py ok (0.3s), tests/startup_gfx2hlsl_pack_absdiff_check.py ok (2.6s), tests/startup_gfx2hlsl_readfirstlane_recompute_check.py ok (0.1s), tests/startup_gfx2hlsl_readfirstlane_uniform_check.py ok (0.1s), tests/startup_gfx2hlsl_refusals_check.py ok (0.5s), tests/startup_gfx2hlsl_root_check.py ok (0.7s), tests/startup_gfx2hlsl_sad_check.py ok (0.3s), tests/startup_gfx2hlsl_saveexec_same_reg_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_arity_check.py ok (0.2s), tests/startup_gfx2hlsl_scalar_brev_fold_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.1s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.3s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.1s), tests/startup_gfx2hlsl_shift64_check.py ok (0.2s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (6.6s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (0.9s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.2s), tests/startup_gfx2hlsl_swap_check.py ok (0.3s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (4.8s), tests/startup_gfx2hlsl_waitcnt_depctr_check.py ok (0.1s), tests/startup_gfx2hlsl_watch_check.py ok (2.6s), tests/startup_image_2d_array_check.py ok (0.2s), tests/startup_image_3d_check.py ok (0.1s), tests/startup_image_gather_lz_check.py ok (0.6s), tests/startup_image_load_d16_check.py ok (0.9s), tests/startup_image_sample_a16_check.py ok (0.2s), tests/startup_image_sample_b_check.py ok (0.2s), tests/startup_image_sample_c_check.py ok (0.3s), tests/startup_image_sample_l_check.py ok (0.2s), tests/startup_image_sample_lod_check.py ok (0.7s), tests/startup_inline_sampler_check.py ok (0.2s), tests/startup_mesh57_skeleton_check.py ok (0.2s), tests/startup_run_ps1_check.py ok (10.4s), tests/startup_run_sh_check.py skipped (0.1s), tests/startup_sampler_heap_check.py ok (0.1s), tests/startup_shader_cache_rekey_check.py ok (2.0s), tests/startup_smem_address_check.py ok (0.1s), tests/startup_stream_fetch_check.py ok (0.3s), tests/startup_stream_interface_check.py ok (0.3s), tests/startup_translator_check.py ok (0.5s)
  • sccache: 302/965 hits; wall 224.8s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7173110309 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2418#issuecomment-7173110309). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T20:02:44Z. --- Win2025 WARP receipt for head 9a91918d after updating with main. Hardware variants not run (VM has only WARP). Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `9a91918d53050159f632516f08ac6de99e90358c`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check startup_stream_consumer -- -j 2`): `47.65s` (configure `2.78s`) - Test (`ctest --preset dev -R '^startup_(buffer_format_word3|buffer_format_word3_mapping_control|buffer_format_word3_table|formatted_view_draw_warp|buffer_address_(controls|warp)|vertex_fetch_formats_(controls|warp)|address_srv_warp|mubuf_descriptor_warp|stream_draw_warp)$' --parallel 2 --no-tests=error --output-on-failure`): **11/11 passed** (`38.63s`: `startup_buffer_address_warp` `2.33s`, `startup_stream_draw_warp` `3.19s`, `startup_mubuf_descriptor_warp` `1.36s`, `startup_address_srv_warp` `0.80s`, `startup_buffer_address_controls` `0.66s`, `startup_vertex_fetch_formats_controls` `0.18s`, `startup_buffer_format_word3` `0.05s`, `startup_buffer_format_word3_mapping_control` `0.01s`, `startup_buffer_format_word3_table` `0.12s`, `startup_formatted_view_draw_warp` `2.81s`, `startup_vertex_fetch_formats_warp` `38.09s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check startup_stream_consumer -- -j 2`): `93.92s` (configure `2.27s`) - Test (`ctest --preset release -R '^startup_(buffer_format_word3|buffer_format_word3_mapping_control|buffer_format_word3_table|formatted_view_draw_warp|buffer_address_(controls|warp)|vertex_fetch_formats_(controls|warp)|address_srv_warp|mubuf_descriptor_warp|stream_draw_warp)$' --parallel 2 --no-tests=error --output-on-failure`): **11/11 passed** (`19.60s`: `startup_stream_draw_warp` `2.49s`, `startup_buffer_address_warp` `1.73s`, `startup_mubuf_descriptor_warp` `0.88s`, `startup_address_srv_warp` `0.54s`, `startup_buffer_address_controls` `0.44s`, `startup_vertex_fetch_formats_controls` `0.13s`, `startup_buffer_format_word3` `0.03s`, `startup_buffer_format_word3_mapping_control` `0.01s`, `startup_buffer_format_word3_table` `0.10s`, `startup_formatted_view_draw_warp` `1.75s`, `startup_vertex_fetch_formats_warp` `19.48s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`0.7s`), `tests/startup_buffer_address_check.py` ok (`0.5s`), `tests/startup_buffer_format_word3_table_check.py` ok (`0.1s`), `tests/startup_compute_request_offline_check.py` ok (`0.5s`), `tests/startup_compute_translate_check.py` ok (`0.2s`), `tests/startup_flat_param_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_add_sub_co_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_add_sub_co_ci_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_bit_alu_check.py` ok (`0.7s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`1.1s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.4s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`1.3s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`5.1s`), `tests/startup_gfx2hlsl_getpc_refusal_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_handler_arity_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_image_arity_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_image_get_lod_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_int_med3_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_join_symbols_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_loop_constants_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_mask_overwrite_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_operand_count_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_pack_absdiff_check.py` ok (`2.6s`), `tests/startup_gfx2hlsl_readfirstlane_recompute_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_readfirstlane_uniform_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_refusals_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_root_check.py` ok (`0.7s`), `tests/startup_gfx2hlsl_sad_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_saveexec_same_reg_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_arity_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_scalar_brev_fold_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_m0_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sdwa_cvt_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_sgpr_spill_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_shift64_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_smem_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sop2_complement_check.py` ok (`6.6s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`0.9s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`4.8s`), `tests/startup_gfx2hlsl_waitcnt_depctr_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`2.6s`), `tests/startup_image_2d_array_check.py` ok (`0.2s`), `tests/startup_image_3d_check.py` ok (`0.1s`), `tests/startup_image_gather_lz_check.py` ok (`0.6s`), `tests/startup_image_load_d16_check.py` ok (`0.9s`), `tests/startup_image_sample_a16_check.py` ok (`0.2s`), `tests/startup_image_sample_b_check.py` ok (`0.2s`), `tests/startup_image_sample_c_check.py` ok (`0.3s`), `tests/startup_image_sample_l_check.py` ok (`0.2s`), `tests/startup_image_sample_lod_check.py` ok (`0.7s`), `tests/startup_inline_sampler_check.py` ok (`0.2s`), `tests/startup_mesh57_skeleton_check.py` ok (`0.2s`), `tests/startup_run_ps1_check.py` ok (`10.4s`), `tests/startup_run_sh_check.py` skipped (`0.1s`), `tests/startup_sampler_heap_check.py` ok (`0.1s`), `tests/startup_shader_cache_rekey_check.py` ok (`2.0s`), `tests/startup_smem_address_check.py` ok (`0.1s`), `tests/startup_stream_fetch_check.py` ok (`0.3s`), `tests/startup_stream_interface_check.py` ok (`0.3s`), `tests/startup_translator_check.py` ok (`0.5s`) - `sccache`: 302/965 hits; wall `224.8s` AI-assisted; commands listed were executed locally.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!2410
No description provided.