startup: bind single-range RTVs, clear copied views, count unresolved #1694

Merged
tedin7 merged 7 commits from upstream-pr/1701 into main 2026-11-24 18:40:21 +00:00
tedin7 commented 2026-11-24 17:23:50 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T17:23:50Z.


What

  • OMSetRenderTargets (command-list slot 50): RTsSingleHandleToDescriptorRange=TRUE is no longer dropped silently. The first handle is expanded at the title's descriptor stride (title_descriptor_stride), for a count of one and for several, with explicit 64-bit handle-overflow protection. Before, targets_bound stayed false and every later draw on the list was skipped.
  • Render target and depth handles that hold no view (and a count above 8) are logged (first six of each kind) and counted: x2w-render totals now reports target binds N (unresolved M).
  • ClearRenderTargetView (slot 52) resolves the view with resolve_view(desktop, 20) (which already falls back to view_target(desktop, 20) when no shadow record exists), so a descriptor copied with CopyDescriptors* clears the resource it now holds while a slot overwritten with a null RTV cannot resurrect a stale view_targets entry. list_clear_target moved below resolve_view for that, otherwise unchanged.
  • New startup_rtv_bind_{warp,hardware} (tests/startup_rtv_bind.cpp, no draw): bind forms (array, single range with 1 and 2 handles, count 0 with null handles, count above 8, range reaching an empty view, empty view alone, clear on an empty view) checked through the new x2w_d3d12_render_target_stats export, then a view copied with CopyDescriptorsSimple, cleared red and read back.
  • Docs: docs/startup-runtime.md and docs/experiments.md.

Verification

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

  • Debug (--preset dev):
    • cmake --build --preset dev --target d3d12_xs_shim startup_rtv_bind startup_stream_consumer startup_stub_consumer startup_stub_acphal startup_stub_chad startup_stub_gameinput startup_stub_xapu startup_stub_xcrdapi startup_stub_xg_xs d3d12x_graphics_list_check -- -j 6 (3.66s)
    • ctest --preset dev -R '^(startup_rtv_bind_warp|startup_stream_draw_warp|startup_stream_viewport_warp|startup_stubs|d3d12x_graphics_list_warp)$' --parallel 4 --no-tests=error --output-on-failure: 5/5 passed (3.25s: d3d12x_graphics_list_warp 0.06s, startup_rtv_bind_warp 0.07s, startup_stubs 0.47s, startup_stream_viewport_warp 1.07s, startup_stream_draw_warp 3.17s)
  • Release /O2 (--preset release):
    • cmake --build --preset release --target d3d12_xs_shim startup_rtv_bind startup_stream_consumer startup_stub_consumer startup_stub_acphal startup_stub_chad startup_stub_gameinput startup_stub_xapu startup_stub_xcrdapi startup_stub_xg_xs d3d12x_graphics_list_check -- -j 6 (1.16s)
    • ctest --preset release -R '^(startup_rtv_bind_warp|startup_stream_draw_warp|startup_stream_viewport_warp|startup_stubs|d3d12x_graphics_list_warp)$' --parallel 4 --no-tests=error --output-on-failure: 5/5 passed (3.10s: startup_rtv_bind_warp 0.07s, d3d12x_graphics_list_warp 0.06s, startup_stubs 0.59s, startup_stream_viewport_warp 1.13s, startup_stream_draw_warp 3.02s)
  • Mutation check on Win2025 (local patch, not pushed): temporarily restoring if (!list || single_range) return; in list_targets caused startup_rtv_bind_warp to fail at step 2 (2 single range, count 1: binds +0 (expected +1)).
  • Linux checks: git diff --check origin/main...HEAD, tests/docs_links_check.py (17 files / 365 links), tests/bidi_controls_check.py (1288 files): clean.

Behavior changes to review: a depth pointer whose handle maps to no descriptor still binds no depth, now with a count and a log line; a count above 8 is now counted and logged (still refused). The single_range stride comes from the RTV increment of the device; if no device is known the bind is refused and counted.

Not covered: physical hardware adapters (*_hardware), and the draw-level effect of a single-range bind (a pixel check after a draw).

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6587529960 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1701). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T17:23:50Z. --- ## What - `OMSetRenderTargets` (command-list slot 50): `RTsSingleHandleToDescriptorRange=TRUE` is no longer dropped silently. The first handle is expanded at the title's descriptor stride (`title_descriptor_stride`), for a count of one and for several, with explicit 64-bit handle-overflow protection. Before, `targets_bound` stayed false and every later draw on the list was skipped. - Render target and depth handles that hold no view (and a count above 8) are logged (first six of each kind) and counted: `x2w-render totals` now reports `target binds N (unresolved M)`. - `ClearRenderTargetView` (slot 52) resolves the view with `resolve_view(desktop, 20)` (which already falls back to `view_target(desktop, 20)` when no shadow record exists), so a descriptor copied with `CopyDescriptors*` clears the resource it now holds while a slot overwritten with a null RTV cannot resurrect a stale `view_targets` entry. `list_clear_target` moved below `resolve_view` for that, otherwise unchanged. - New `startup_rtv_bind_{warp,hardware}` (`tests/startup_rtv_bind.cpp`, no draw): bind forms (array, single range with 1 and 2 handles, count 0 with null handles, count above 8, range reaching an empty view, empty view alone, clear on an empty view) checked through the new `x2w_d3d12_render_target_stats` export, then a view copied with `CopyDescriptorsSimple`, cleared red and read back. - Docs: `docs/startup-runtime.md` and `docs/experiments.md`. ## Verification Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `d23d8a6e1c356809517783de87a9d447143f0631`: - **Debug (`--preset dev`)**: - `cmake --build --preset dev --target d3d12_xs_shim startup_rtv_bind startup_stream_consumer startup_stub_consumer startup_stub_acphal startup_stub_chad startup_stub_gameinput startup_stub_xapu startup_stub_xcrdapi startup_stub_xg_xs d3d12x_graphics_list_check -- -j 6` (`3.66s`) - `ctest --preset dev -R '^(startup_rtv_bind_warp|startup_stream_draw_warp|startup_stream_viewport_warp|startup_stubs|d3d12x_graphics_list_warp)$' --parallel 4 --no-tests=error --output-on-failure`: **5/5 passed** (`3.25s`: `d3d12x_graphics_list_warp` `0.06s`, `startup_rtv_bind_warp` `0.07s`, `startup_stubs` `0.47s`, `startup_stream_viewport_warp` `1.07s`, `startup_stream_draw_warp` `3.17s`) - **Release `/O2` (`--preset release`)**: - `cmake --build --preset release --target d3d12_xs_shim startup_rtv_bind startup_stream_consumer startup_stub_consumer startup_stub_acphal startup_stub_chad startup_stub_gameinput startup_stub_xapu startup_stub_xcrdapi startup_stub_xg_xs d3d12x_graphics_list_check -- -j 6` (`1.16s`) - `ctest --preset release -R '^(startup_rtv_bind_warp|startup_stream_draw_warp|startup_stream_viewport_warp|startup_stubs|d3d12x_graphics_list_warp)$' --parallel 4 --no-tests=error --output-on-failure`: **5/5 passed** (`3.10s`: `startup_rtv_bind_warp` `0.07s`, `d3d12x_graphics_list_warp` `0.06s`, `startup_stubs` `0.59s`, `startup_stream_viewport_warp` `1.13s`, `startup_stream_draw_warp` `3.02s`) - **Mutation check on Win2025 (local patch, not pushed)**: temporarily restoring `if (!list || single_range) return;` in `list_targets` caused `startup_rtv_bind_warp` to fail at step 2 (`2 single range, count 1: binds +0 (expected +1)`). - **Linux checks**: `git diff --check origin/main...HEAD`, `tests/docs_links_check.py` (17 files / 365 links), `tests/bidi_controls_check.py` (1288 files): clean. Behavior changes to review: a depth pointer whose handle maps to no descriptor still binds no depth, now with a count and a log line; a count above 8 is now counted and logged (still refused). The `single_range` stride comes from the RTV increment of the device; if no device is known the bind is refused and counted. Not covered: physical hardware adapters (`*_hardware`), and the draw-level effect of a single-range bind (a pixel check after a draw). AI-assisted; commands listed were executed locally.
chatgpt-codex-connector[bot commented 2026-11-24 18:02:38 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T17:48:20Z.

Review: COMMENTED


💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d23d8a6e1c

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

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6044468208 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1701#pullrequestreview-6044468208). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/chatgpt-codex-connector%5Bbot%5D) on 2026-11-24T17:48:20Z. **Review:** COMMENTED --- <!-- codex-review-receipt:v1 --> ### 💡 Codex Review Here are some automated review suggestions for this pull request. **Reviewed commit:** `d23d8a6e1c` <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>
tedin7 commented 2026-11-24 18:02:38 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T18:01:22Z.

Review: COMMENTED


No description provided.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6044658209 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1701#pullrequestreview-6044658209). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T18:01:22Z. **Review:** COMMENTED --- _No description provided._
chatgpt-codex-connector[bot commented 2026-11-24 18:02:59 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T17:43:24Z.


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-24T17:48:22.930875Z d23d8a6 Draft marked ready
ℹ️ 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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7139610671 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1701#issuecomment-7139610671). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/chatgpt-codex-connector%5Bbot%5D) on 2026-11-24T17:43:24Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"d23d8a6e1c356809517783de87a9d447143f0631","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-24T17:48:22.930875Z">2026-11-24T17:48:22.930875Z</relative-time> | `d23d8a6` | Draft marked ready | <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>
chatgpt-codex-connector[bot commented 2026-11-24 18:03:02 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T17:48:20Z.

Code review location: src/startup_stubs/d3d12_xs_device.cpp; line 1791

@@ -1788,9 +1779,39 @@ bool format_has_stencil(DXGI_FORMAT format)
     return format == DXGI_FORMAT_D24_UNORM_S8_UINT || format == DXGI_FORMAT_D32_FLOAT_S8X24_UINT ||
            format == DXGI_FORMAT_R24G8_TYPELESS || format == DXGI_FORMAT_R32G8X24_TYPELESS;
 }
+// List slot 52 (desktop 48 + 4), ClearRenderTargetView(view, colour, rect count, rects). Desktop
+// resources rest in COMMON here, so the target is moved to RENDER_TARGET around the clear. The view is
+// read from its shadow record, as OMSetRenderTargets does, so a descriptor the title copied clears the
+// resource it now holds; a handle with no record falls back to the creation-time map.
+void __stdcall list_clear_target(Wrapper* self, u64 handle, const float* colour, UINT rect_count, const D3D12_RECT* rects)
+{
+    if (!self->own().list_open || !colour) return;
+    const u64 desktop = desktop_cpu_handle(handle);
+    const ResolvedView view = resolve_view(desktop, 20);
+    ID3D12Resource* target = view.resource;

P1 Badge Reject shadow RTVs whose desktop creation was skipped

When view_slot<20> rejects an RTV, such as the packed-format controls in tests/startup_packed_target_draw_check.py:127-128, it has already called note_view, so a shadow record exists even though no desktop descriptor was created. resolve_view returns that record's non-null resource, causing this new lookup to proceed to ClearRenderTargetView with an uninitialized or stale descriptor instead of skipping the clear as before. tests/startup_stream_draw.cpp:289 already exercises this sequence, which can issue invalid D3D12 work and trigger device removal. Track whether the shadow RTV was actually materialized before allowing it to be cleared, while preserving support for valid copied descriptors.

Useful? React with 👍 / 👎.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review-comment:4684185837 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1701#discussion_r4684185837). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/chatgpt-codex-connector%5Bbot%5D) on 2026-11-24T17:48:20Z. **Code review location:** `src/startup_stubs/d3d12_xs_device.cpp`; line 1791 ~~~~diff @@ -1788,9 +1779,39 @@ bool format_has_stencil(DXGI_FORMAT format) return format == DXGI_FORMAT_D24_UNORM_S8_UINT || format == DXGI_FORMAT_D32_FLOAT_S8X24_UINT || format == DXGI_FORMAT_R24G8_TYPELESS || format == DXGI_FORMAT_R32G8X24_TYPELESS; } +// List slot 52 (desktop 48 + 4), ClearRenderTargetView(view, colour, rect count, rects). Desktop +// resources rest in COMMON here, so the target is moved to RENDER_TARGET around the clear. The view is +// read from its shadow record, as OMSetRenderTargets does, so a descriptor the title copied clears the +// resource it now holds; a handle with no record falls back to the creation-time map. +void __stdcall list_clear_target(Wrapper* self, u64 handle, const float* colour, UINT rect_count, const D3D12_RECT* rects) +{ + if (!self->own().list_open || !colour) return; + const u64 desktop = desktop_cpu_handle(handle); + const ResolvedView view = resolve_view(desktop, 20); + ID3D12Resource* target = view.resource; ~~~~ --- **<sub><sub>![P1 Badge](https://img.shields.io/badge/P1-orange?style=flat)</sub></sub> Reject shadow RTVs whose desktop creation was skipped** When `view_slot<20>` rejects an RTV, such as the packed-format controls in `tests/startup_packed_target_draw_check.py:127-128`, it has already called `note_view`, so a shadow record exists even though no desktop descriptor was created. `resolve_view` returns that record's non-null resource, causing this new lookup to proceed to `ClearRenderTargetView` with an uninitialized or stale descriptor instead of skipping the clear as before. `tests/startup_stream_draw.cpp:289` already exercises this sequence, which can issue invalid D3D12 work and trigger device removal. Track whether the shadow RTV was actually materialized before allowing it to be cleared, while preserving support for valid copied descriptors. Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
tedin7 commented 2026-11-24 18:03:02 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T18:01:22Z.

Code review location: src/startup_stubs/d3d12_xs_device.cpp; line 1791

@@ -1788,9 +1779,39 @@ bool format_has_stencil(DXGI_FORMAT format)
     return format == DXGI_FORMAT_D24_UNORM_S8_UINT || format == DXGI_FORMAT_D32_FLOAT_S8X24_UINT ||
            format == DXGI_FORMAT_R24G8_TYPELESS || format == DXGI_FORMAT_R32G8X24_TYPELESS;
 }
+// List slot 52 (desktop 48 + 4), ClearRenderTargetView(view, colour, rect count, rects). Desktop
+// resources rest in COMMON here, so the target is moved to RENDER_TARGET around the clear. The view is
+// read from its shadow record, as OMSetRenderTargets does, so a descriptor the title copied clears the
+// resource it now holds; a handle with no record falls back to the creation-time map.
+void __stdcall list_clear_target(Wrapper* self, u64 handle, const float* colour, UINT rect_count, const D3D12_RECT* rects)
+{
+    if (!self->own().list_open || !colour) return;
+    const u64 desktop = desktop_cpu_handle(handle);
+    const ResolvedView view = resolve_view(desktop, 20);
+    ID3D12Resource* target = view.resource;

Fixed in e56f2eaecfe3a1c038250b2c27b35fdcd5c7a736.

  • d3d12_capture.inl now tracks desktop view materialization (view_materialized(), keyed by view record id and mixed into the dedup hash, keeping ViewRecord layout unchanged for capture dumps). Because note_copy copies shadow ids, materialization status propagates across CopyDescriptors and CopyDescriptorsSimple.
  • view_slot<N, D> in src/startup_stubs/d3d12_xs_device.cpp records materialized=false on the skipped/refused paths (including refused packed formats) and materialized=true only after desktop view creation.
  • resolve_view rejects unmaterialized shadow records (out.skipped = true, out.resource = nullptr), so ClearRenderTargetView and OMSetRenderTargets (both array and single_range=TRUE, plus depth views) skip the desktop call and count the handle as unresolved instead of passing an uninitialized or stale descriptor.
  • tests/startup_rtv_bind.cpp adds regression coverage for (a) clearing/binding a refused packed-format RTV directly and via single_range=TRUE, (b) clearing valid RTVs copied via both CopyDescriptorsSimple and CopyDescriptors, and (c) clearing/binding a copied refused RTV via CopyDescriptors, confirming the refused target remains untouched.

Verification:

  • Linux: git diff --check origin/main...HEAD, python3 tests/docs_links_check.py (17 files, 365 links), python3 tests/bidi_controls_check.py (1288 files) — all passed.
  • Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at e56f2eaecfe3a1c038250b2c27b35fdcd5c7a736:
    • Debug (--preset dev): cmake --build --preset dev --target startup_rtv_bind startup_stream_consumer + ctest --preset dev -R '^(startup_rtv_bind|startup_packed_target_draw|startup_stream_draw)' — 6/6 passed (3.24s).
    • Release /O2 (--preset release): cmake --build --preset release --target startup_rtv_bind startup_stream_consumer + ctest --preset release -R '^(startup_rtv_bind|startup_packed_target_draw|startup_stream_draw)' — 6/6 passed (3.23s).
    • Mutation check (removing the if (!materialized) guard in resolve_view via --patch on Win2025 Debug): startup_rtv_bind_warp failed as expected at step 6e clear on a refused view: binds +0 (expected +0), unresolved +0 (expected +1).

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review-comment:4684347291 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1701#discussion_r4684347291). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T18:01:22Z. **Code review location:** `src/startup_stubs/d3d12_xs_device.cpp`; line 1791 ~~~~diff @@ -1788,9 +1779,39 @@ bool format_has_stencil(DXGI_FORMAT format) return format == DXGI_FORMAT_D24_UNORM_S8_UINT || format == DXGI_FORMAT_D32_FLOAT_S8X24_UINT || format == DXGI_FORMAT_R24G8_TYPELESS || format == DXGI_FORMAT_R32G8X24_TYPELESS; } +// List slot 52 (desktop 48 + 4), ClearRenderTargetView(view, colour, rect count, rects). Desktop +// resources rest in COMMON here, so the target is moved to RENDER_TARGET around the clear. The view is +// read from its shadow record, as OMSetRenderTargets does, so a descriptor the title copied clears the +// resource it now holds; a handle with no record falls back to the creation-time map. +void __stdcall list_clear_target(Wrapper* self, u64 handle, const float* colour, UINT rect_count, const D3D12_RECT* rects) +{ + if (!self->own().list_open || !colour) return; + const u64 desktop = desktop_cpu_handle(handle); + const ResolvedView view = resolve_view(desktop, 20); + ID3D12Resource* target = view.resource; ~~~~ --- Fixed in `e56f2eaecfe3a1c038250b2c27b35fdcd5c7a736`. - `d3d12_capture.inl` now tracks desktop view materialization (`view_materialized()`, keyed by view record id and mixed into the dedup hash, keeping `ViewRecord` layout unchanged for capture dumps). Because `note_copy` copies shadow ids, materialization status propagates across `CopyDescriptors` and `CopyDescriptorsSimple`. - `view_slot<N, D>` in `src/startup_stubs/d3d12_xs_device.cpp` records `materialized=false` on the skipped/refused paths (including refused packed formats) and `materialized=true` only after desktop view creation. - `resolve_view` rejects unmaterialized shadow records (`out.skipped = true`, `out.resource = nullptr`), so `ClearRenderTargetView` and `OMSetRenderTargets` (both array and `single_range=TRUE`, plus depth views) skip the desktop call and count the handle as unresolved instead of passing an uninitialized or stale descriptor. - `tests/startup_rtv_bind.cpp` adds regression coverage for (a) clearing/binding a refused packed-format RTV directly and via `single_range=TRUE`, (b) clearing valid RTVs copied via both `CopyDescriptorsSimple` and `CopyDescriptors`, and (c) clearing/binding a copied refused RTV via `CopyDescriptors`, confirming the refused target remains untouched. Verification: - Linux: `git diff --check origin/main...HEAD`, `python3 tests/docs_links_check.py` (17 files, 365 links), `python3 tests/bidi_controls_check.py` (1288 files) — all passed. - Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at `e56f2eaecfe3a1c038250b2c27b35fdcd5c7a736`: - Debug (`--preset dev`): `cmake --build --preset dev --target startup_rtv_bind startup_stream_consumer` + `ctest --preset dev -R '^(startup_rtv_bind|startup_packed_target_draw|startup_stream_draw)'` — **6/6 passed** (`3.24s`). - Release `/O2` (`--preset release`): `cmake --build --preset release --target startup_rtv_bind startup_stream_consumer` + `ctest --preset release -R '^(startup_rtv_bind|startup_packed_target_draw|startup_stream_draw)'` — **6/6 passed** (`3.23s`). - Mutation check (removing the `if (!materialized)` guard in `resolve_view` via `--patch` on Win2025 Debug): `startup_rtv_bind_warp` failed as expected at step `6e clear on a refused view: binds +0 (expected +0), unresolved +0 (expected +1)`. AI-assisted; commands listed were executed locally.
upstream-sync closed this pull request 2026-11-24 19:01:02 +00:00
R0Y00 commented 2026-11-24 19:01:41 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T18:40:03Z.


Independently verified 9f20c573 in Windows Release. The RTV binder, packed-target draw and heap-indexed root checks passed 6/6 across WARP and RTX 4060 Laptop, no skips. Refused original and copied RTVs remain unbound; valid copied RTVs clear and read back as expected. This covers the shadow-view materialization finding.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7140967892 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1701#issuecomment-7140967892). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T18:40:03Z. --- Independently verified 9f20c573 in Windows Release. The RTV binder, packed-target draw and heap-indexed root checks passed 6/6 across WARP and RTX 4060 Laptop, no skips. Refused original and copied RTVs remain unbound; valid copied RTVs clear and read back as expected. This covers the shadow-view materialization finding.
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!1694
No description provided.