shader: lower export target null in gfx2hlsl (Part of #1723) #2026

Manually merged
github merged 5 commits from gh-pr/2026/head into gh-pr/2026/base 2026-11-26 23:50:38 +00:00
Owner

@⁠tedin7 on GitHub · 2026-11-24 23:26 UTC · original
tedin7:x2w-r20-export-null → main · +213 −1 · 5 files · 5 commits · merged 2026-11-25 23:22 UTC

Part of #1723

What this unblocks: Run 20 census #11 (45 pairs).

exp null, off, off, off, off done vm (a pixel shader that only discards) was refused as export target null, and a shader whose only export is null was classified other. The null target now writes nothing and keeps the vm discard; the classifier treats it as a pixel shader.

Verification:

  • python3 -B tests/startup_gfx2hlsl_export_null_check.py on the branch: all ok, exit 0.
  • Same command with the tools/startup/gfx2hlsl.py change reverted: exit 1 (export target null, classified other).
  • Registered as startup_gfx2hlsl_export_null in CMakeLists.txt.
  • Not run: Win2025 draw commands (the check is pure Python).

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-24 23:26 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2026) `tedin7:x2w-r20-export-null` → `main` · +213 −1 · 5 files · 5 commits · merged 2026-11-25 23:22 UTC Part of #1723 What this unblocks: Run 20 census #11 (45 pairs). `exp null, off, off, off, off done vm` (a pixel shader that only discards) was refused as `export target null`, and a shader whose only export is null was classified `other`. The null target now writes nothing and keeps the `vm` discard; the classifier treats it as a pixel shader. Verification: - `python3 -B tests/startup_gfx2hlsl_export_null_check.py` on the branch: `all ok`, exit 0. - Same command with the `tools/startup/gfx2hlsl.py` change reverted: exit 1 (`export target null`, classified `other`). - Registered as `startup_gfx2hlsl_export_null` in CMakeLists.txt. - Not run: Win2025 draw commands (the check is pure Python). AI-assisted; commands listed were executed locally.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 23:50:36 +00:00
github manually merged commit 7f1ece4107 into gh-pr/2026/base 2026-11-26 23:50:38 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-24 23:27 UTC · original · edited 2026-11-24 23:31 UTC

Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T23:31:43.393365Z 7d0bae6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review" or "@⁠codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-24 23:27 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2026#issuecomment-7147415673) · edited 2026-11-24 23:31 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"7d0bae666dcadf250e48fbede39635c51d25908b","has_any_findings":true,"has_unresolved_findings":true,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-24T23:31:43.393365Z">2026-11-24T23:31:43.393365Z</relative-time> | `7d0bae6` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review" or "@⁠codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
@ -6148,2 +6148,4 @@
if 'vm' in flags and not self.exec_known:
self.emit('if (!(exec & 1)) discard;')
if target == 'null':
return None # the null target writes no render target; its only effect is the vm discard above
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-24 23:31 UTC · original

P2 Badge Reject unparsed modifiers before accepting null exports

For compressed null encodings with a non-pair EN mask, the decoder appends an en: token (tools/disasm_rdna2.py:2664–2667); for example, 0xf8001c91 produces an export ending in done compr vm en:0x1. The regex above absorbs that entire suffix into the last operand, leaving flags empty, and this new return accepts the instruction while silently dropping vm. A pure-Python translation of s_mov_b64 exec, 0 followed by that export generates a pixel shader without discard, so a depth-enabled draw can retain killed pixels instead of rejecting the unmodelled encoding as before. Reject unparsed export modifiers or preserve the VM bit before returning.

Useful? React with 👍 / 👎.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-24 23:31 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2026#discussion_r4687998801) **<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Reject unparsed modifiers before accepting null exports** For compressed null encodings with a non-pair EN mask, the decoder appends an `en:` token (`tools/disasm_rdna2.py:2664–2667`); for example, `0xf8001c91` produces an export ending in `done compr vm en:0x1`. The regex above absorbs that entire suffix into the last operand, leaving `flags` empty, and this new return accepts the instruction while silently dropping `vm`. A pure-Python translation of `s_mov_b64 exec, 0` followed by that export generates a pixel shader without `discard`, so a depth-enabled draw can retain killed pixels instead of rejecting the unmodelled encoding as before. Reject unparsed export modifiers or preserve the VM bit before returning. Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
@ -6148,2 +6148,4 @@
if 'vm' in flags and not self.exec_known:
self.emit('if (!(exec & 1)) discard;')
if target == 'null':
return None # the null target writes no render target; its only effect is the vm discard above
Author
Owner

@⁠tedin7 on GitHub · 2026-11-25 00:53 UTC · original

Checked: export() already rejects any en: flag before the null path (the lazy regex splits done compr vm en:0x1 into flags correctly), so 0xf8001c91 raises Unsupported and vm is never dropped. Pinned with a regression test in 68b09062 (rebased on main, push pending from host). Command run: python3 -I tests/startup_gfx2hlsl_export_null_check.py -> all ok.

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-25 00:53 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2026#discussion_r4688702471) Checked: `export()` already rejects any `en:` flag before the null path (the lazy regex splits `done compr vm en:0x1` into flags correctly), so `0xf8001c91` raises Unsupported and `vm` is never dropped. Pinned with a regression test in 68b09062 (rebased on main, push pending from host). Command run: `python3 -I tests/startup_gfx2hlsl_export_null_check.py` -> all ok. AI-assisted; commands listed were executed locally.
@ -6148,2 +6148,4 @@
if 'vm' in flags and not self.exec_known:
self.emit('if (!(exec & 1)) discard;')
if target == 'null':
return None # the null target writes no render target; its only effect is the vm discard above
Author
Owner

@⁠tedin7 on GitHub · 2026-11-25 11:01 UTC · original

Re-checked on current head 68b09062: export() rejects any en: flag before the null path, with a test in tests/startup_gfx2hlsl_export_null_check.py (68b09062). Resolving. AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-25 11:01 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2026#discussion_r4693918370) Re-checked on current head 68b09062: `export()` rejects any `en:` flag before the null path, with a test in tests/startup_gfx2hlsl_export_null_check.py (68b09062). Resolving. AI-assisted; commands listed were executed locally.
Author
Owner

@⁠tedin7 on GitHub · 2026-11-25 13:51 UTC · original

Closing this PR for now to keep the Windows test queue short. Nothing is wrong with it and the branch stays as it is.

We will reopen it once the queue is clear, re-run the Win2025 WARP checks at its head, and post the result here.

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-25 13:51 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2026#issuecomment-7164395372) Closing this PR for now to keep the Windows test queue short. Nothing is wrong with it and the branch stays as it is. We will reopen it once the queue is clear, re-run the Win2025 WARP checks at its head, and post the result here. AI-assisted; commands listed were executed locally.
Author
Owner

@⁠lambirou on GitHub · 2026-11-25 22:17 UTC · original

@⁠tedin7 I found this closed PR after starting a separate exp null implementation. Your semantics are the right ones: the null target writes no channel but vm still discards. I am not opening a competing PR.

I added a draw fixture on top of your branch:

  • Branch: startup/export-null-draw on my fork
  • Commit: github.com/lambirou/Xbox2Windows@7ee0b6d7 (7ee0b6d7, parent 68b0906)
  • Files: tests/startup_gfx2hlsl_export_null_draw_check.py, CMakeLists.txt, docs/experiments.md
  • No change to tools/startup/gfx2hlsl.py; this keeps your vm discard exactly.

The draw compiles a colour export followed by exp null, off, off, off, off done with DXC ps_6_0, draws 4x4 pixels through offscreen_check --startup-pixel-words, and compares all 64 words with the four constants. The negative control writes mrt0 = 0 from the null site and must produce pixel mismatch.

python -B tests/startup_gfx2hlsl_export_null_check.py
all ok

python -B tests/startup_gfx2hlsl_export_null_draw_check.py draw <dxc> <offscreen_check> warp
backend=warp ... adapter=Microsoft Basic Render Driver ...
null export draw: 16 pixels match; the writing-null control differs

python -B tests/startup_gfx2hlsl_export_null_draw_check.py draw <dxc> <offscreen_check> hardware
backend=hardware ... adapter=AMD Radeon RX 9060 XT driver=32.0.32029.2010 ...
null export draw: 16 pixels match; the writing-null control differs

CMakeLists.txt registers startup_gfx2hlsl_export_null_draw_{warp,hardware} with SKIP_RETURN_CODE 77; the hardware case ran here on the RX 9060 XT, debug layer unavailable. tests/docs_links_check.py and tests/bidi_controls_check.py pass, and git diff --check is clean.

Please take this commit when you reopen the PR, or tell me to fold it into your branch after the rebase. It adds only the draw coverage and documentation.

**@⁠lambirou** on GitHub · 2026-11-25 22:17 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2026#issuecomment-7176178715) @⁠tedin7 I found this closed PR after starting a separate `exp null` implementation. Your semantics are the right ones: the null target writes no channel but `vm` still discards. I am not opening a competing PR. I added a draw fixture on top of your branch: - Branch: `startup/export-null-draw` on my fork - Commit: https://github.com/lambirou/Xbox2Windows/commit/7ee0b6d7 (`7ee0b6d7`, parent `68b0906`) - Files: `tests/startup_gfx2hlsl_export_null_draw_check.py`, `CMakeLists.txt`, `docs/experiments.md` - No change to `tools/startup/gfx2hlsl.py`; this keeps your `vm` discard exactly. The draw compiles a colour export followed by `exp null, off, off, off, off done` with DXC `ps_6_0`, draws 4x4 pixels through `offscreen_check --startup-pixel-words`, and compares all 64 words with the four constants. The negative control writes `mrt0 = 0` from the null site and must produce `pixel mismatch`. ```text python -B tests/startup_gfx2hlsl_export_null_check.py all ok python -B tests/startup_gfx2hlsl_export_null_draw_check.py draw <dxc> <offscreen_check> warp backend=warp ... adapter=Microsoft Basic Render Driver ... null export draw: 16 pixels match; the writing-null control differs python -B tests/startup_gfx2hlsl_export_null_draw_check.py draw <dxc> <offscreen_check> hardware backend=hardware ... adapter=AMD Radeon RX 9060 XT driver=32.0.32029.2010 ... null export draw: 16 pixels match; the writing-null control differs ``` `CMakeLists.txt` registers `startup_gfx2hlsl_export_null_draw_{warp,hardware}` with `SKIP_RETURN_CODE 77`; the hardware case ran here on the RX 9060 XT, debug layer unavailable. `tests/docs_links_check.py` and `tests/bidi_controls_check.py` pass, and `git diff --check` is clean. Please take this commit when you reopen the PR, or tell me to fold it into your branch after the rebase. It adds only the draw coverage and documentation.
Author
Owner

@⁠tedin7 on GitHub · 2026-11-26 00:11 UTC · original

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2): 1.48s (configure 1.98s)
    • Test (ctest --preset dev -R 'startup_gfx2hlsl_export_null' --parallel 2 --no-tests=error --output-on-failure): 3/3 passed (0.54s: startup_gfx2hlsl_export_null 0.09s, startup_gfx2hlsl_export_null_draw_warp 0.33s, startup_gfx2hlsl_export_null_draw_hardware 0.34s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2): 1.06s (configure 2.03s)
    • Test (ctest --preset release -R 'startup_gfx2hlsl_export_null' --parallel 2 --no-tests=error --output-on-failure): 3/3 passed (0.50s: startup_gfx2hlsl_export_null 0.09s, startup_gfx2hlsl_export_null_draw_warp 0.30s, startup_gfx2hlsl_export_null_draw_hardware 0.29s)
  • 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.2s), 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.0s), 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.2s), tests/startup_gfx2hlsl_cvt_off_f32_i4_check.py ok (0.2s), tests/startup_gfx2hlsl_cvt_pk_int16_check.py ok (0.2s), tests/startup_gfx2hlsl_f32_lg_check.py ok (1.1s), tests/startup_gfx2hlsl_f32_nan_check.py ok (4.4s), tests/startup_gfx2hlsl_fma_mix_check.py ok (0.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_interp_p2_hi_check.py ok (0.2s), 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.2s), 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.2s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_table_arity_check.py ok (0.2s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.2s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.2s), tests/startup_gfx2hlsl_shift64_check.py ok (0.2s), tests/startup_gfx2hlsl_sload_const_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (5.5s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (0.8s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.1s), tests/startup_gfx2hlsl_swap_check.py ok (0.2s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (4.0s), tests/startup_gfx2hlsl_waitcnt_depctr_check.py ok (0.1s), tests/startup_gfx2hlsl_watch_check.py ok (2.5s), 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.5s), 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.2s), tests/startup_image_sample_l_check.py ok (0.2s), tests/startup_image_sample_lod_check.py ok (0.5s), tests/startup_inline_sampler_check.py ok (0.1s), tests/startup_mesh57_skeleton_check.py ok (0.4s), tests/startup_run_ps1_check.py ok (8.6s), 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 (1.6s), tests/startup_smem_address_check.py ok (0.1s), tests/startup_stream_fetch_check.py ok (0.2s), tests/startup_stream_interface_check.py ok (0.2s), tests/startup_translator_check.py ok (0.4s)
  • sccache: 8/17 hits; wall 62.9s

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-26 00:11 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2026#issuecomment-7178497509) Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `7f1ece4107ef754df649b15c110e0604a1a07fee`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2`): `1.48s` (configure `1.98s`) - Test (`ctest --preset dev -R 'startup_gfx2hlsl_export_null' --parallel 2 --no-tests=error --output-on-failure`): **3/3 passed** (`0.54s`: `startup_gfx2hlsl_export_null` `0.09s`, `startup_gfx2hlsl_export_null_draw_warp` `0.33s`, `startup_gfx2hlsl_export_null_draw_hardware` `0.34s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim startup_buffer_format_word3_check -- -j 2`): `1.06s` (configure `2.03s`) - Test (`ctest --preset release -R 'startup_gfx2hlsl_export_null' --parallel 2 --no-tests=error --output-on-failure`): **3/3 passed** (`0.50s`: `startup_gfx2hlsl_export_null` `0.09s`, `startup_gfx2hlsl_export_null_draw_warp` `0.30s`, `startup_gfx2hlsl_export_null_draw_hardware` `0.29s`) - **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.2s`), `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.0s`), `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.2s`), `tests/startup_gfx2hlsl_cvt_off_f32_i4_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_cvt_pk_int16_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`1.1s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`4.4s`), `tests/startup_gfx2hlsl_fma_mix_check.py` ok (`0.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_interp_p2_hi_check.py` ok (`0.2s`), `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.2s`), `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.2s`), `tests/startup_gfx2hlsl_scalar_m0_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_table_arity_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_sdwa_cvt_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_sgpr_spill_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_shift64_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_sload_const_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_smem_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sop2_complement_check.py` ok (`5.5s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`0.8s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`4.0s`), `tests/startup_gfx2hlsl_waitcnt_depctr_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`2.5s`), `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.5s`), `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.2s`), `tests/startup_image_sample_l_check.py` ok (`0.2s`), `tests/startup_image_sample_lod_check.py` ok (`0.5s`), `tests/startup_inline_sampler_check.py` ok (`0.1s`), `tests/startup_mesh57_skeleton_check.py` ok (`0.4s`), `tests/startup_run_ps1_check.py` ok (`8.6s`), `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 (`1.6s`), `tests/startup_smem_address_check.py` ok (`0.1s`), `tests/startup_stream_fetch_check.py` ok (`0.2s`), `tests/startup_stream_interface_check.py` ok (`0.2s`), `tests/startup_translator_check.py` ok (`0.4s`) - `sccache`: 8/17 hits; wall `62.9s` AI-assisted; commands listed were executed locally.
Author
Owner

@⁠tedin7 on GitHub · 2026-11-26 00:11 UTC · original

@⁠MasterDomino #2026 is ready for review and merge.

What changed:

  • Merged current main into the branch (clean merge, no conflicts).
  • Added a real D3D12 WARP draw test for exp null after mrt0, read back and compared with the expected pixels, plus a negative control. The fixture comes from @⁠lambirou's commit 7ee0b6d7, kept with their authorship.
  • Docs: added the offscreen_check build line and removed hardware claims we did not run.

Head: 7f1ece41. CI is green. Win2025 dev and release both passed on this head (receipt in the comment above).

Open point from pre-review: a pixel shader with only a null export has no draw test yet.

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-26 00:11 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2026#issuecomment-7178497758) @⁠MasterDomino #2026 is ready for review and merge. What changed: - Merged current `main` into the branch (clean merge, no conflicts). - Added a real D3D12 WARP draw test for `exp null` after `mrt0`, read back and compared with the expected pixels, plus a negative control. The fixture comes from @⁠lambirou's commit `7ee0b6d7`, kept with their authorship. - Docs: added the `offscreen_check` build line and removed hardware claims we did not run. Head: `7f1ece41`. CI is green. Win2025 dev and release both passed on this head (receipt in the comment above). Open point from pre-review: a pixel shader with only a null export has no draw test yet. AI-assisted; commands listed were executed locally.
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-24 23:31 UTC · original · reviewed

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7d0bae666d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review".

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".

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-24 23:31 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2026#pullrequestreview-6049093246) · **reviewed** <!-- codex-review-receipt:v1 --> ### 💡 Codex Review Here are some automated review suggestions for this pull request. **Reviewed commit:** `7d0bae666d` <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review". 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". </details>
This discussion has been locked. Commenting is limited to contributors.
No description provided.