runtime: bind native compute table buffers and texture views #3049

Closed
sydney-0o wants to merge 5 commits from upstream-pr/3049 into main
sydney-0o commented 2026-11-27 11:10:51 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by sydney-0o on 2026-11-27T11:10:51Z.


Refs #2974 and #2935. Combines the remaining work from #2975 and #2993 on main after #3039. The original commits retain Leyukaka's authorship. #2902 supplies the existing runtime view validation.

Changes

  • Publish native offline manifests for four-channel 1D and 3D texture UAVs.
  • Bind scalar table buffer SRVs, 2D texture SRVs, and 1D, 2D, 2D-array and 3D texture UAVs on the first native Dispatch. The in-process and published paths use the same dispatch binding code.
  • Reuse the 1D/3D fixtures from #2902 and keep the Python-published and C++-published checks separate. The native fixtures cover invalid mip and W ranges, incompatible views, a zero-size W range, and sampler refusal.
  • Report the adapter's wave32 and shader model capabilities when they explain a native capability skip.

Validation

Tested e56cb78d (Debug, MSVC 19.31, Windows 10 Pro build 19045, DXC from Windows SDK 10.0.26100). Hardware was an NVIDIA GeForce GTX 1080 Ti with driver 32.0.15.8278. WARP was Microsoft Basic Render Driver 10.0.19041.5794.

cmake --build --preset dev --target d3d12_xs_shim startup_stream_consumer compile_dxil
ctest --preset dev --no-tests=error -R '^(startup_compute_dispatch_((texture_)?native_)?(warp|hardware)|startup_gfx2hlsl_image_store_3d1d)$' -V

In-box D3D12 gave 3 passes, 4 capability skips. Both adapters compiled the three native offline requests and verified their manifests. WARP reported 4-lane waves. The GTX 1080 Ti reported wave32 and Shader Model 6.5. Both portable device checks passed with the debug layer enabled and no error messages.

I also built the same targets in out/build/agility. The consumer exported D3D12SDKVersion = 620 and D3D12SDKPath = ".\\D3D12\\" from a test-only source file and loaded the app-local Agility SDK 1.620.2 binaries from that directory. The tracked files and runtime shim used the same commit. This configuration exposed Shader Model 6.6 and wave32 on the same GTX 1080 Ti.

ctest --test-dir out/build/agility --no-tests=error -R '^startup_compute_dispatch_(texture_)?native_hardware$' -V

2 passed. The native offline 3D and 3D NSA cases each matched all 6,144 words. The 1D case matched all 128. The in-process test matched the mixed buffer/texture 3D output and the 1D, 2D-array and packed-half outputs. The refusal controls left the sentinels intact. The in-process run reported the D3D12 debug layer enabled and no errors.

The broader WARP texture suite's existing dispatch-sampled failure (consumer exit 2173) also reproduced with the clean base. The startup stall discussed in #2975 still needs its separate before/after run. This PR provides the combined patch and source-built evidence for review.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5525635261 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049). Originally posted by [sydney-0o](https://github.com/sydney-0o) on 2026-11-27T11:10:51Z. --- Refs #2974 and #2935. Combines the remaining work from #2975 and #2993 on `main` after #3039. The original commits retain Leyukaka's authorship. #2902 supplies the existing runtime view validation. ### Changes - Publish native offline manifests for four-channel 1D and 3D texture UAVs. - Bind scalar table buffer SRVs, 2D texture SRVs, and 1D, 2D, 2D-array and 3D texture UAVs on the first native `Dispatch`. The in-process and published paths use the same dispatch binding code. - Reuse the 1D/3D fixtures from #2902 and keep the Python-published and C++-published checks separate. The native fixtures cover invalid mip and W ranges, incompatible views, a zero-size W range, and sampler refusal. - Report the adapter's wave32 and shader model capabilities when they explain a native capability skip. ### Validation Tested `e56cb78d` (Debug, MSVC 19.31, Windows 10 Pro build 19045, DXC from Windows SDK 10.0.26100). Hardware was an NVIDIA GeForce GTX 1080 Ti with driver `32.0.15.8278`. WARP was Microsoft Basic Render Driver `10.0.19041.5794`. ```powershell cmake --build --preset dev --target d3d12_xs_shim startup_stream_consumer compile_dxil ctest --preset dev --no-tests=error -R '^(startup_compute_dispatch_((texture_)?native_)?(warp|hardware)|startup_gfx2hlsl_image_store_3d1d)$' -V ``` In-box D3D12 gave **3 passes, 4 capability skips**. Both adapters compiled the three native offline requests and verified their manifests. WARP reported 4-lane waves. The GTX 1080 Ti reported wave32 and Shader Model 6.5. Both portable device checks passed with the debug layer enabled and no error messages. I also built the same targets in `out/build/agility`. The consumer exported `D3D12SDKVersion = 620` and `D3D12SDKPath = ".\\D3D12\\"` from a test-only source file and loaded the app-local Agility SDK 1.620.2 binaries from that directory. The tracked files and runtime shim used the same commit. This configuration exposed Shader Model 6.6 and wave32 on the same GTX 1080 Ti. ```powershell ctest --test-dir out/build/agility --no-tests=error -R '^startup_compute_dispatch_(texture_)?native_hardware$' -V ``` **2 passed.** The native offline 3D and 3D NSA cases each matched all 6,144 words. The 1D case matched all 128. The in-process test matched the mixed buffer/texture 3D output and the 1D, 2D-array and packed-half outputs. The refusal controls left the sentinels intact. The in-process run reported the D3D12 debug layer enabled and no errors. The broader WARP texture suite's existing `dispatch-sampled` failure (consumer exit 2173) also reproduced with the clean base. The startup stall discussed in #2975 still needs its separate before/after run. This PR provides the combined patch and source-built evidence for review. AI-assisted.
R0Y00 commented 2026-11-27 11:23:05 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T11:23:05Z.


Independent validation of e56cb78d on main e04217f4 (GitHub integration commit 8a0e4cfa). I confirmed that this draft retains Leyukaka's commits and builds on the 1D/3D runtime validation already in #2902. It also keeps Python-published and native offline tests separate.

ctest --preset <dev|release> --no-tests=error -V -R '^(startup_compute_dispatch_(texture_)?native_(warp|hardware)|startup_manifest_retry|startup_gfx2hlsl_image_store_3d1d)$'

Debug (/Z7) and Release (/O2) each gave four passes and two WARP capability skips. On the RTX 4060 Laptop (driver 32.0.16.1656, Windows 11 26200.9974, SDK 10.0.26100), the native offline volume and NSA fixtures each matched all 6,144 words, and the 1D case matched all 128. In-process dispatch matched the 320-word slot 67 control, and the additional 1D, array and packed-half fixtures matched 128, 6,144 and 1,024 values. The zero-WSize and sampler controls kept their sentinels. The in-process fixture reported the D3D12 debug layer enabled with no errors. WARP 10.0.26100.9818 compiled and checked the offline manifests, then skipped native dispatch because it reports 4 lanes.

This is the combined review candidate for #2975 and #2993. The original-program startup observation with injected manifests still needs a controlled before/after run on the new main baseline.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7217010618 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7217010618). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-27T11:23:05Z. --- Independent validation of e56cb78d on main e04217f4 (GitHub integration commit 8a0e4cfa). I confirmed that this draft retains Leyukaka's commits and builds on the 1D/3D runtime validation already in #2902. It also keeps Python-published and native offline tests separate. ctest --preset <dev|release> --no-tests=error -V -R '^(startup_compute_dispatch_(texture_)?native_(warp|hardware)|startup_manifest_retry|startup_gfx2hlsl_image_store_3d1d)$' Debug (/Z7) and Release (/O2) each gave four passes and two WARP capability skips. On the RTX 4060 Laptop (driver 32.0.16.1656, Windows 11 26200.9974, SDK 10.0.26100), the native offline volume and NSA fixtures each matched all 6,144 words, and the 1D case matched all 128. In-process dispatch matched the 320-word slot 67 control, and the additional 1D, array and packed-half fixtures matched 128, 6,144 and 1,024 values. The zero-WSize and sampler controls kept their sentinels. The in-process fixture reported the D3D12 debug layer enabled with no errors. WARP 10.0.26100.9818 compiled and checked the offline manifests, then skipped native dispatch because it reports 4 lanes. This is the combined review candidate for #2975 and #2993. The original-program startup observation with injected manifests still needs a controlled before/after run on the new main baseline.
sydney-0o commented 2026-11-27 11:47:08 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by sydney-0o on 2026-11-27T11:47:08Z.


when merging?

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7217472104 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7217472104). Originally posted by [sydney-0o](https://github.com/sydney-0o) on 2026-11-27T11:47:08Z. --- when merging?
R0Y00 commented 2026-11-27 11:52:14 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T11:52:14Z.


The independent synthetic review is complete at e56cb78d; the remaining merge blocker is the original-program startup stall reported in #2975. Please compare current main against current main plus #3049 using fresh copies of the same cache and the same scripted inputs, with and without the injected 1D/3D manifests. Record whether file-open progress stalls after excluding shader-cache paths and whether the three implicated dispatches are translated or refused. Counts and diagnostics are enough. Once that separates a reproducible regression from the earlier observation, we can make the merge decision on the current head.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7217570265 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7217570265). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-27T11:52:14Z. --- The independent synthetic review is complete at `e56cb78d`; the remaining merge blocker is the original-program startup stall reported in #2975. Please compare current `main` against current `main` plus #3049 using fresh copies of the same cache and the same scripted inputs, with and without the injected 1D/3D manifests. Record whether file-open progress stalls after excluding shader-cache paths and whether the three implicated dispatches are translated or refused. Counts and diagnostics are enough. Once that separates a reproducible regression from the earlier observation, we can make the merge decision on the current head.
SimSalabimse commented 2026-11-27 12:45:05 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by SimSalabimse on 2026-11-27T12:45:05Z.


Compared #3049 (head e56cb78d merged locally onto current main 35f7197e, not pushed, built with X2W_WITH_OPUS=ON) to a 300 s Opus-enabled run of that same 35f7197e base. Both runs are of a retail title and both ended with the normal timeout (no crash). Environment (the Windows test PC): RTX 4070 Ti, driver 621.35, Windows 11 25H2 (build 26200), MSVC 19.44, cmake --preset dev.

The before log dir is the 35f7197e tree; the after log dir is the local merge. Last present heartbeats are at 288.3 s (before) and 290.7 s (after), because a thread dump was taken around 280 s.

Shader-cache caveat

Both runs published a fresh shader-cache request set: 2,689 published, 0 already present, 0 failed. That makes this a fair before/after pair (neither run was warm). Publication finished at 93.3 s before and 85.5 s after.

Presents / fps (the early startup stall)

  • Before (35f7197e): 7,242 presents in 288.3 s, 25.1 fps overall. 0–30 s is 22–30 fps. Then a deep dip from about 41–77 s: interval fps falls to 1.6–4.2 (51.6–56.6 s is 1.60 fps with 0 ms slept). About 41–77 s averages 2.8 fps. It recovers to 30 fps from about 82 s. 90–190 s: 29.7 fps. 190–290 s: 30.0 fps.
  • After (#3049 merge): 8,086 presents in 290.7 s, 27.8 fps overall. The first 5 s already has 135 presents (27.0 fps) against 119 (23.8 fps) on the base. The same 41–77 s window stays much healthier: it averages 19.0 fps, and the lowest 5 s slice is 13.9 fps at 50–55 s (still sleeping 574 ms in that slice). It is at 30 fps from about 86 s. 90–190 s: 29.9 fps. 190–290 s: 29.9 fps.

The early startup stall that held #2975 is substantially reduced on #3049. It is not completely gone (there is still a milder dip around 45–70 s). The later 190–300 s window is 30 fps on both runs, so this is not the manifest-retry stall #2925 already addressed. First present is in the first few seconds on both; the first surface readback is a 3840x2160 plane with mean level 0.00/255 on both.

Compute dispatches / native compile

  • Before at 283 s: 0 translated, 13,879 refused, 0 no-translation, 0 not modelled. Every keyed census refusal is an input is in a placed buffer that does not alias title memory.
  • After at 291 s: 1 translated, 22,201 refused, 38 no-translation, 0 not modelled. The same placed-buffer refusal still dominates. New in this run, and only reported at the last census (~291 s): one key with 1 dispatch and first refusal: none (the single translated dispatch), plus five keys with 38 dispatches marked no translation.
  • No view-contract or “descriptor does not satisfy” refusals showed up in either log. Builder-gate refusals stay 0.

The higher after refusal count follows in part from more runtime after the early stall and from a steeper rise after ~216 s. Offline translation of the published request set is essentially unchanged: 239 ok on both, 2,467 vs 2,468 unsupported, same reason set.

Slot 70 memory SRV refusals

  • Before at 283 s: 31,269 (mostly unsupported_description 15,203 and buffer_unavailable 14,863; also null_address 739, texture_unavailable 372, overlapping_resource 88).
  • After at 286 s: 52,548 (buffer_unavailable 24,753, unsupported_description 16,054, null_address 7,032, texture_unavailable 3,542, overlapping_resource 1,163).

Both jump in the ~216–250 s window. This PR is about native texture/buffer views, so the higher after counts (especially texture_unavailable and null_address) are noted, not treated as a slot-70 fix.

Other late-run differences

Around 200–250 s both runs start uploading textures and growing pipeline / deferral counts, but they do not line up:

  • Textures uploaded: before reaches 1,126 (about 4,543,028 KiB) by 253 s and stays there. After reaches 38 (47,708 KiB) by 216 s and stays there.
  • Null bindings: 0 on the base; 2,045 on after, all token, starting at 226 s and climbing through the end.
  • Pipelines: before 14 translated / 3 missing; after 12 translated / 6 missing.
  • Heap-indexed roots deferred: 15,412 before vs 29,309 after.
  • Translated draws: 48,198 before (53,170 not drawn) vs 57,840 after (43,396 not drawn).

Stand-in / threads

During the 41–77 s stall the base spends almost the whole interval inside present and barely sleeps (for example 0 ms slept at 1.60 fps). After still does a lot of list/pipeline work in that window, but it keeps presenting and sleeps 0.6–2.6 s per slice. Once both are at 30 fps they sleep about 4.8 s per 5 s (pacing). Thread dumps at 200 s, 280 s and the timeout show 110 threads on both runs, almost all in ntdll waits. No thread is in read_text / load_compute_translation or CreateFileW.

Audio, asserts, errors

Startup audio matches: heap, 350 XMA context slots allocated (still no XMA decoder), AcpHal connect, XApuConnect, and 24 XApuEnqueueCommand (the log cap). No AcpHal type-5 no-op submits or XDspActivate in either 300 s window.

No crash. One title soft-assert was continued on both, at the same site. First-chance access violations in the stand-in are the same kind on both runs, but the counts differ: 498 before vs 8,986 after. Both have an early cluster in the first 10 s (128 each). After then has a large burst in the last ~15 s (8,518 between 285 s and 300 s) that the base did not; the base’s late cluster is 334 around 260–262 s and then quiet. Four network opens were refused on both. No new error message classes appeared, aside from the new no translation / translated compute census lines above.

AI-Assisted

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7218629293 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7218629293). Originally posted by [SimSalabimse](https://github.com/SimSalabimse) on 2026-11-27T12:45:05Z. --- Compared #3049 (head `e56cb78d` merged locally onto current `main` `35f7197e`, not pushed, built with `X2W_WITH_OPUS=ON`) to a 300 s Opus-enabled run of that same `35f7197e` base. Both runs are of a retail title and both ended with the normal timeout (no crash). Environment (the Windows test PC): RTX 4070 Ti, driver 621.35, Windows 11 25H2 (build 26200), MSVC 19.44, `cmake --preset dev`. The before log dir is the `35f7197e` tree; the after log dir is the local merge. Last present heartbeats are at 288.3 s (before) and 290.7 s (after), because a thread dump was taken around 280 s. **Shader-cache caveat** Both runs published a fresh shader-cache request set: 2,689 published, 0 already present, 0 failed. That makes this a fair before/after pair (neither run was warm). Publication finished at 93.3 s before and 85.5 s after. **Presents / fps (the early startup stall)** - Before (`35f7197e`): 7,242 presents in 288.3 s, 25.1 fps overall. 0–30 s is 22–30 fps. Then a deep dip from about 41–77 s: interval fps falls to 1.6–4.2 (51.6–56.6 s is 1.60 fps with 0 ms slept). About 41–77 s averages 2.8 fps. It recovers to 30 fps from about 82 s. 90–190 s: 29.7 fps. 190–290 s: 30.0 fps. - After (#3049 merge): 8,086 presents in 290.7 s, 27.8 fps overall. The first 5 s already has 135 presents (27.0 fps) against 119 (23.8 fps) on the base. The same 41–77 s window stays much healthier: it averages 19.0 fps, and the lowest 5 s slice is 13.9 fps at 50–55 s (still sleeping 574 ms in that slice). It is at 30 fps from about 86 s. 90–190 s: 29.9 fps. 190–290 s: 29.9 fps. The early startup stall that held #2975 is substantially reduced on #3049. It is not completely gone (there is still a milder dip around 45–70 s). The later 190–300 s window is 30 fps on both runs, so this is not the manifest-retry stall #2925 already addressed. First present is in the first few seconds on both; the first surface readback is a 3840x2160 plane with mean level 0.00/255 on both. **Compute dispatches / native compile** - Before at 283 s: 0 translated, 13,879 refused, 0 no-translation, 0 not modelled. Every keyed census refusal is `an input is in a placed buffer that does not alias title memory`. - After at 291 s: 1 translated, 22,201 refused, 38 no-translation, 0 not modelled. The same placed-buffer refusal still dominates. New in this run, and only reported at the last census (~291 s): one key with 1 dispatch and `first refusal: none` (the single translated dispatch), plus five keys with 38 dispatches marked `no translation`. - No view-contract or “descriptor does not satisfy” refusals showed up in either log. Builder-gate refusals stay 0. The higher after refusal count follows in part from more runtime after the early stall and from a steeper rise after ~216 s. Offline translation of the published request set is essentially unchanged: 239 `ok` on both, 2,467 vs 2,468 unsupported, same reason set. **Slot 70 memory SRV refusals** - Before at 283 s: 31,269 (mostly `unsupported_description` 15,203 and `buffer_unavailable` 14,863; also `null_address` 739, `texture_unavailable` 372, `overlapping_resource` 88). - After at 286 s: 52,548 (`buffer_unavailable` 24,753, `unsupported_description` 16,054, `null_address` 7,032, `texture_unavailable` 3,542, `overlapping_resource` 1,163). Both jump in the ~216–250 s window. This PR is about native texture/buffer views, so the higher after counts (especially `texture_unavailable` and `null_address`) are noted, not treated as a slot-70 fix. **Other late-run differences** Around 200–250 s both runs start uploading textures and growing pipeline / deferral counts, but they do not line up: - Textures uploaded: before reaches 1,126 (about 4,543,028 KiB) by 253 s and stays there. After reaches 38 (47,708 KiB) by 216 s and stays there. - Null bindings: 0 on the base; 2,045 on after, all `token`, starting at 226 s and climbing through the end. - Pipelines: before 14 translated / 3 missing; after 12 translated / 6 missing. - Heap-indexed roots deferred: 15,412 before vs 29,309 after. - Translated draws: 48,198 before (53,170 not drawn) vs 57,840 after (43,396 not drawn). **Stand-in / threads** During the 41–77 s stall the base spends almost the whole interval inside present and barely sleeps (for example 0 ms slept at 1.60 fps). After still does a lot of list/pipeline work in that window, but it keeps presenting and sleeps 0.6–2.6 s per slice. Once both are at 30 fps they sleep about 4.8 s per 5 s (pacing). Thread dumps at 200 s, 280 s and the timeout show 110 threads on both runs, almost all in ntdll waits. No thread is in `read_text` / `load_compute_translation` or `CreateFileW`. **Audio, asserts, errors** Startup audio matches: heap, 350 XMA context slots allocated (still no XMA decoder), AcpHal connect, XApuConnect, and 24 `XApuEnqueueCommand` (the log cap). No AcpHal type-5 no-op submits or `XDspActivate` in either 300 s window. No crash. One title soft-assert was continued on both, at the same site. First-chance access violations in the stand-in are the same kind on both runs, but the counts differ: 498 before vs 8,986 after. Both have an early cluster in the first 10 s (128 each). After then has a large burst in the last ~15 s (8,518 between 285 s and 300 s) that the base did not; the base’s late cluster is 334 around 260–262 s and then quiet. Four network opens were refused on both. No new error message classes appeared, aside from the new `no translation` / translated compute census lines above. AI-Assisted
R0Y00 commented 2026-11-27 12:46:18 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T12:46:18Z.


Thanks for running the matched cold-cache comparison. It shows that #3049 improved the early present cadence on that baseline, while the late differences still need attribution before merge. In particular, the test saw 498 versus 8,986 first-chance access violations and 1,126 versus 38 texture uploads. Could you repeat with fresh copies of the same inputs and log the leading exception sites as module+RVA and access type (counts only), aligned by the same startup event? Please also run the original injected-manifest control, with and without those manifests on the same baseline, and report the three implicated dispatch keys and non-cache file-open progress. That would tell us whether a newly enabled native dispatch or a different execution path accounts for the late divergence.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7218653806 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7218653806). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-27T12:46:18Z. --- Thanks for running the matched cold-cache comparison. It shows that #3049 improved the early present cadence on that baseline, while the late differences still need attribution before merge. In particular, the test saw 498 versus 8,986 first-chance access violations and 1,126 versus 38 texture uploads. Could you repeat with fresh copies of the same inputs and log the leading exception sites as module+RVA and access type (counts only), aligned by the same startup event? Please also run the original injected-manifest control, with and without those manifests on the same baseline, and report the three implicated dispatch keys and non-cache file-open progress. That would tell us whether a newly enabled native dispatch or a different execution path accounts for the late divergence.
R0Y00 commented 2026-11-27 14:47:16 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T14:47:16Z.


Rechecked the updated head 1356e232 integrated on main ca659396 (tree b19c2de74f478e603157c0da7c96f11fd85ecc95). I built startup_stream_consumer d3d12_xs_shim compile_dxil startup_manifest_retry_check and ran ctest --test-dir <build> --no-tests=error -j 1 -V -R '^(startup_compute_dispatch_(two_mips|(texture_)?native)_(warp|hardware)|startup_manifest_retry|startup_gfx2hlsl_image_store_3d1d)$'. Debug and Release /O2 each finished with six passes and two native WARP capability skips (77, no wave32). The two-mip case still matched 1,280 half words on both adapters; swapping the views changed exactly 64. RTX matched 6,144 words in each native volume variant, 128 in the native 1D case, and 320 in the in-process dispatch. Windows 11 26200.9974, WARP 10.0.26100.9818 and RTX 4060 Laptop driver 32.0.16.1656, SDK DXC 10.0.26100; the GPU fixture debug layer was on.

The source-built regression check is complete for the merge update. The original-startup late exception/texture divergence and injected-manifest comparison from the comment above remain open.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7221227372 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7221227372). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-27T14:47:16Z. --- Rechecked the updated head `1356e232` integrated on `main` `ca659396` (tree `b19c2de74f478e603157c0da7c96f11fd85ecc95`). I built `startup_stream_consumer d3d12_xs_shim compile_dxil startup_manifest_retry_check` and ran `ctest --test-dir <build> --no-tests=error -j 1 -V -R '^(startup_compute_dispatch_(two_mips|(texture_)?native)_(warp|hardware)|startup_manifest_retry|startup_gfx2hlsl_image_store_3d1d)$'`. Debug and Release `/O2` each finished with six passes and two native WARP capability skips (77, no wave32). The two-mip case still matched 1,280 half words on both adapters; swapping the views changed exactly 64. RTX matched 6,144 words in each native volume variant, 128 in the native 1D case, and 320 in the in-process dispatch. Windows 11 26200.9974, WARP 10.0.26100.9818 and RTX 4060 Laptop driver 32.0.16.1656, SDK DXC 10.0.26100; the GPU fixture debug layer was on. The source-built regression check is complete for the merge update. The original-startup late exception/texture divergence and injected-manifest comparison from the comment above remain open.
JohnConnorNPC commented 2026-11-27 17:39:38 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by JohnConnorNPC on 2026-11-27T17:39:38Z.


Reviewed 1356e232 read-only, merged locally onto 63a30dc1 (clean auto-merge). Linux: the docs/links, bidi and startup_gfx2hlsl_image_store_3d1d checks pass on both trees; I disassembled the new fixture programs with llvm-mc (gfx1013) and the byte comments match; the four D16 inputs distinguish round-to-nearest-even from truncation and ties-away. I could not run the D3D12 fixtures here.

Before merge:

  1. The original-program comparison you listed as the remaining blocker is still open: 498 → 8,986 first-chance AVs and 1,126 → 38 uploaded textures on the one before/after pair are not attributed yet.
  2. The consumer change (increment-based handles, heap size, packed-table copy) affects every texture-* mode, but no run at this head includes startup_compute_dispatch_texture_{warp,hardware} or startup_compute_dispatch_array(_d16)_{warp,hardware}. PR CI builds the pr preset only (no startup_stream_consumer; 41 tests, none of the compute dispatch ones), and recent main push runs hit the 30-minute Windows timeout. Could someone run ctest --preset dev --no-tests=error -j1 -V -R '^startup_compute_dispatch_(texture|array|array_d16|two_mips)_(warp|hardware)$' at the head and at the merge-base, with the first diagnostic of any failure (the WARP dispatch-sampled exit 2173 mentioned in the description) and the adapter's CBV/SRV/UAV increment?

Suggestions:

  1. The capability skip relies only on the stand-in's own refusal text. Including the lane range and highest shader model in the message (as native_global_srv_heap_replay does with "(4..4)") would make a wrong skip on a capable GPU visible.
  2. The copy_token(1) path for native inputs is not reached by any reported run: WARP refuses for capability before binding, and NVIDIA uses a 32-byte increment. Logging the increment, or naming an adapter that reached it, would help.
  3. The in-process route now accepts float 2D and half4 1D/3D/2D-array outputs without an in-process fixture, and the "accepted only with bindings a fixture has run" sentence was removed. Either narrow the set or add one refusal control for an unsupported view kind.
  4. docs/experiments/startup-compute-native-dispatch.md still lists steps 1–5 and the RTX 4090 cpp-migration result; the new cases and the GTX 1080 Ti / RTX 4060 results would fit there.

Nits: the new ### Offline compute manifests for 3D and 1D UAVs section lands under the CopyTextureRegion section; the tests/cmake/startup_compute_dispatch_native.cmake comment still says only "32-lane waves"; "Match … format_compute_runtime_manifest" isn't exact (byte_window_srv); "native DXIL … verified" checks only the DXBC magic.

This comment was AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7224648873 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7224648873). Originally posted by [JohnConnorNPC](https://github.com/JohnConnorNPC) on 2026-11-27T17:39:38Z. --- Reviewed `1356e232` read-only, merged locally onto `63a30dc1` (clean auto-merge). Linux: the docs/links, bidi and `startup_gfx2hlsl_image_store_3d1d` checks pass on both trees; I disassembled the new fixture programs with llvm-mc (gfx1013) and the byte comments match; the four D16 inputs distinguish round-to-nearest-even from truncation and ties-away. I could not run the D3D12 fixtures here. Before merge: 1. The original-program comparison you listed as the remaining blocker is still open: 498 → 8,986 first-chance AVs and 1,126 → 38 uploaded textures on the one before/after pair are not attributed yet. 2. The consumer change (increment-based handles, heap size, packed-table copy) affects every `texture-*` mode, but no run at this head includes `startup_compute_dispatch_texture_{warp,hardware}` or `startup_compute_dispatch_array(_d16)_{warp,hardware}`. PR CI builds the `pr` preset only (no `startup_stream_consumer`; 41 tests, none of the compute dispatch ones), and recent main push runs hit the 30-minute Windows timeout. Could someone run `ctest --preset dev --no-tests=error -j1 -V -R '^startup_compute_dispatch_(texture|array|array_d16|two_mips)_(warp|hardware)$'` at the head and at the merge-base, with the first diagnostic of any failure (the WARP `dispatch-sampled` exit 2173 mentioned in the description) and the adapter's CBV/SRV/UAV increment? Suggestions: 3. The capability skip relies only on the stand-in's own refusal text. Including the lane range and highest shader model in the message (as `native_global_srv_heap_replay` does with "(4..4)") would make a wrong skip on a capable GPU visible. 4. The `copy_token(1)` path for native inputs is not reached by any reported run: WARP refuses for capability before binding, and NVIDIA uses a 32-byte increment. Logging the increment, or naming an adapter that reached it, would help. 5. The in-process route now accepts float 2D and half4 1D/3D/2D-array outputs without an in-process fixture, and the "accepted only with bindings a fixture has run" sentence was removed. Either narrow the set or add one refusal control for an unsupported view kind. 6. `docs/experiments/startup-compute-native-dispatch.md` still lists steps 1–5 and the RTX 4090 `cpp-migration` result; the new cases and the GTX 1080 Ti / RTX 4060 results would fit there. Nits: the new `### Offline compute manifests for 3D and 1D UAVs` section lands under the CopyTextureRegion section; the `tests/cmake/startup_compute_dispatch_native.cmake` comment still says only "32-lane waves"; "Match … format_compute_runtime_manifest" isn't exact (`byte_window_srv`); "native DXIL … verified" checks only the `DXBC` magic. This comment was AI-assisted.
pigalot commented 2026-11-27 20:30:51 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by pigalot on 2026-11-27T20:30:51Z.

Review: COMMENTED


This answers JohnConnorNPC's item 2 (no run at this head included the texture / array suites) and part of item 4. I tested 1356e232 merged into main 2e74b778 (tree 32a3e9b2, clean merge), and main 2e74b778 itself as the base.

What I ran. On each tree I built d3d12_xs_shim startup_stream_consumer compile_dxil offscreen_check (dev), then ran:
ctest --test-dir out/build/dev --no-tests=error -j 1 -V -R '^(startup_compute_dispatch_(texture|array|array_d16|two_mips|(texture_)?native)_(warp|hardware)|startup_compute_dispatch_(warp|hardware))$'

tree passed capability skips failed
main 2e74b778 11 1 (native_warp) 0
PR merged 12 2 (native_warp, texture_native_warp) 0
  • Both WARP skips are dispatch skipped (adapter has no 32-lane waves), after native DXIL and manifest verified for volume, volume-nsa and line.
  • With the PR, startup_compute_dispatch_texture_{warp,hardware} still pass every mode:
    • texture output 1024 halves (64 changed);
    • texture input 320 words;
    • the smpl filtered and smpc compared inputs;
    • image_load_mip + v_readfirstlane_b32.
  • startup_compute_dispatch_array(_d16) match all 6144 words / halves in each of the four layer and EXEC cases, on both adapters.
  • two_mips matches 1280 halves, and swapping the views changes 64.
  • The debug layer was on, with no messages, in every case.
  • I did not see the WARP dispatch-sampled exit 2173 from the description, on either tree. It may be specific to Windows 10 or WARP 10.0.19041.

Descriptor increments (checked with a separate GetDescriptorHandleIncrementSize probe):

adapter CBV/SRV/UAV increment waves highest shader model
RTX 5090 32 32..32 6.8
WARP 10.0.26100.9818 64 4..4 6.8

So on WARP, table_slot != 0 and the packed-table copy_token path is exercised by the non-native texture-* modes, and they pass. copy_token(1) (native inputs) is still not reached anywhere I can run: WARP refuses for wave size before binding, and the 5090 has a 32-byte increment. This supports item 4. A GPU with 32-lane waves and a wider increment would be needed to reach it.

Not covered here: the original-program before/after comparison that R0Y00 named as the merge blocker, and Release /O2.

Verdict: comment on 1356e232. No source-built regressions on this host; the open items are the ones listed above.

Environment: NVIDIA GeForce RTX 5090, driver 32.0.16.1088; WARP 10.0.26100.9818; Windows 11 25H2 build 26200.9974; MSVC 19.52.37029; DXC 1.9.2602.17; debug layer on.

This reply was AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6093087663 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#pullrequestreview-6093087663). Originally posted by [pigalot](https://github.com/pigalot) on 2026-11-27T20:30:51Z. **Review:** COMMENTED --- This answers JohnConnorNPC's item 2 (no run at this head included the texture / array suites) and part of item 4. I tested `1356e232` merged into `main` `2e74b778` (tree `32a3e9b2`, clean merge), and `main` `2e74b778` itself as the base. **What I ran.** On each tree I built `d3d12_xs_shim startup_stream_consumer compile_dxil offscreen_check` (`dev`), then ran: `ctest --test-dir out/build/dev --no-tests=error -j 1 -V -R '^(startup_compute_dispatch_(texture|array|array_d16|two_mips|(texture_)?native)_(warp|hardware)|startup_compute_dispatch_(warp|hardware))$'` | tree | passed | capability skips | failed | |---|---|---|---| | `main` `2e74b778` | 11 | 1 (`native_warp`) | 0 | | PR merged | 12 | 2 (`native_warp`, `texture_native_warp`) | 0 | - Both WARP skips are `dispatch skipped (adapter has no 32-lane waves)`, after `native DXIL and manifest verified` for `volume`, `volume-nsa` and `line`. - With the PR, `startup_compute_dispatch_texture_{warp,hardware}` still pass every mode: - texture output 1024 halves (64 changed); - texture input 320 words; - the `smpl` filtered and `smpc` compared inputs; - `image_load_mip` + `v_readfirstlane_b32`. - `startup_compute_dispatch_array(_d16)` match all 6144 words / halves in each of the four layer and EXEC cases, on both adapters. - `two_mips` matches 1280 halves, and swapping the views changes 64. - The debug layer was on, with no messages, in every case. - **I did not see the WARP `dispatch-sampled` exit 2173 from the description, on either tree.** It may be specific to Windows 10 or WARP 10.0.19041. **Descriptor increments** (checked with a separate `GetDescriptorHandleIncrementSize` probe): | adapter | CBV/SRV/UAV increment | waves | highest shader model | |---|---|---|---| | RTX 5090 | 32 | 32..32 | 6.8 | | WARP 10.0.26100.9818 | 64 | 4..4 | 6.8 | So on WARP, `table_slot != 0` and the packed-table `copy_token` path is exercised by the non-native `texture-*` modes, and they pass. `copy_token(1)` (native inputs) is still not reached anywhere I can run: WARP refuses for wave size before binding, and the 5090 has a 32-byte increment. This supports item 4. A GPU with 32-lane waves and a wider increment would be needed to reach it. **Not covered here:** the original-program before/after comparison that R0Y00 named as the merge blocker, and Release `/O2`. **Verdict:** comment on `1356e232`. No source-built regressions on this host; the open items are the ones listed above. Environment: NVIDIA GeForce RTX 5090, driver 32.0.16.1088; WARP 10.0.26100.9818; Windows 11 25H2 build 26200.9974; MSVC 19.52.37029; DXC 1.9.2602.17; debug layer on. This reply was AI-assisted.
R0Y00 commented 2026-11-28 03:13:47 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-28T03:13:47Z.


I tested 1356e2329 against main c827d8ba in local reconciliation c5589764. The published branch still conflicts in d3d12_compute_dispatch.inl and startup_stream_consumer.cpp. The reconciliation kept #3243's exact-width channel and dimension mapping while carrying the new table-view cases from #2975 and #2993.

Release /O2 on Windows 11 26200.9974, RTX 4060 Laptop 32.0.16.1656 and WARP 10.0.26100.9818 returned 8 passes, 2 failures and one WARP capability skip in the focused set:

ctest --test-dir out/b/release --no-tests=error --output-on-failure -j 1 -R '^(startup_compute_dispatch_((texture_)?native|two_mips)_(warp|hardware)|native_image_store_exact_width_(hardware_(r|volume|rgba|sparse)|warp_sparse))$'

Both startup_compute_dispatch_native_{warp,hardware} fail at startup_compute_dispatch_native_check.py:134, where the fixture expects only req_* and native entries in the table-view cache. The cases reach that assertion after checking the volume readback and refusal controls appropriate to each adapter. The native texture WARP case reports a capability skip. The adjacent texture, array and d16 array checks passed on both adapters (6/6):

ctest --test-dir out/b/release --no-tests=error --output-on-failure -j 1 -R '^startup_compute_dispatch_(texture|array(_d16)?)_(warp|hardware)$'

Please refresh the source branch on main, identify the extra cache artifact before changing that check, and re-run the same baseline/candidate comparison for the startup exception and upload-count differences already reported here. The source-built checks do not resolve those differences.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7232901880 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7232901880). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-28T03:13:47Z. --- I tested `1356e2329` against main `c827d8ba` in local reconciliation `c5589764`. The published branch still conflicts in `d3d12_compute_dispatch.inl` and `startup_stream_consumer.cpp`. The reconciliation kept #3243's exact-width channel and dimension mapping while carrying the new table-view cases from #2975 and #2993. Release /O2 on Windows 11 26200.9974, RTX 4060 Laptop 32.0.16.1656 and WARP 10.0.26100.9818 returned 8 passes, 2 failures and one WARP capability skip in the focused set: ```powershell ctest --test-dir out/b/release --no-tests=error --output-on-failure -j 1 -R '^(startup_compute_dispatch_((texture_)?native|two_mips)_(warp|hardware)|native_image_store_exact_width_(hardware_(r|volume|rgba|sparse)|warp_sparse))$' ``` Both `startup_compute_dispatch_native_{warp,hardware}` fail at `startup_compute_dispatch_native_check.py:134`, where the fixture expects only `req_*` and `native` entries in the table-view cache. The cases reach that assertion after checking the volume readback and refusal controls appropriate to each adapter. The native texture WARP case reports a capability skip. The adjacent texture, array and d16 array checks passed on both adapters (6/6): ```powershell ctest --test-dir out/b/release --no-tests=error --output-on-failure -j 1 -R '^startup_compute_dispatch_(texture|array(_d16)?)_(warp|hardware)$' ``` Please refresh the source branch on main, identify the extra cache artifact before changing that check, and re-run the same baseline/candidate comparison for the startup exception and upload-count differences already reported here. The source-built checks do not resolve those differences.
R0Y00 commented 2026-11-28 03:23:02 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-28T03:23:02Z.


I instrumented both cache-directory assertions in the same local reconciliation (c5589764, Release /O2). The only extra entry on each adapter was revision.txt. The existing first-dispatch check already recognizes that exact marker. With that same filename allowlist applied to the two new cases in a diagnostic run, the RTX 4060 Laptop build passed. The volume data, sampler refusal and zero-WSize unchanged-volume control matched. WARP returned 77 for absent wave32 support after the published fallback and untouched-output controls.

Merged #3231 already handles this marker in the original case (and supersedes #3228). Please carry the exact marker check into the two new assertions when refreshing the branch, keeping the rejection of any other artifact. The earlier startup exception and upload-count differences still need a matched run.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7233030180 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7233030180). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-28T03:23:02Z. --- I instrumented both cache-directory assertions in the same local reconciliation (`c5589764`, Release /O2). The only extra entry on each adapter was `revision.txt`. The existing first-dispatch check already recognizes that exact marker. With that same filename allowlist applied to the two new cases in a diagnostic run, the RTX 4060 Laptop build passed. The volume data, sampler refusal and zero-`WSize` unchanged-volume control matched. WARP returned 77 for absent wave32 support after the published fallback and untouched-output controls. Merged #3231 already handles this marker in the original case (and supersedes #3228). Please carry the exact marker check into the two new assertions when refreshing the branch, keeping the rejection of any other artifact. The earlier startup exception and upload-count differences still need a matched run.
JohnConnorNPC commented 2026-11-28 07:36:02 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by JohnConnorNPC on 2026-11-28T07:36:02Z.


Thanks for this work. I rechecked head 1356e232 against current main c3204a9c (200 commits ahead of the merge-base); it is still conflicting. Could you refresh the branch and fix the following before merge?

  1. Conflicts: git merge-tree --write-tree main 1356e232 exits 1 with CONFLICT (content) in src/startup_stubs/d3d12_compute_dispatch.inl (3 hunks) and tests/startup_stream_consumer.cpp (1 hunk). In the binding loop, main's const unsigned channels = x2w::exact_texture_uav_channels(view.kind); (#3243) and this PR's texture_output = view.kind == Kind::texture_uav || ... both need to survive: the exact-width float/float2/float3 kinds and the four-channel kinds, including 1D. Taking either side alone drops one set.
  2. Cache assertions: the new assert all(p.name.startswith('req_') or p.name == 'native' for p in cache.iterdir()) (startup_compute_dispatch_native_check.py, both new cases) rejects the revision.txt that main's d3d12_draw.inl writes (L"%s\\revision.txt"). The local reconciliation above measured both startup_compute_dispatch_native_{warp,hardware} failing there. Main's existing case already uses p.name not in ('native', 'revision.txt'); please reuse that and keep rejecting any other entry.
  3. Manifest refusal reason: in format_compute_runtime_manifest, the new default: return std::nullopt; skips the refuse(...) added by #3268. On the trial-merged src/direct_compute_cache.cpp, grep -c 'return std::nullopt' goes from 15 to 16. Main's native_compute_manifest_reasons case "UAV kind texture_uav cube" (dim 3, default array_count = 1) now enters the widened branch and returns an empty reason, so that case would print FAIL. I derived this from the code; the test is Windows-only and I have not run it. default: return refuse(view_shape("UAV", b)); would keep the reason.
  4. The matched original-program run asked for in this thread (attributing the first-chance AV and texture-upload count changes) is still open, so the merge blocker stays open.
  5. The new native cases skip on WARP (77), so they only go red on a wave32 + SM6.6 adapter. A mutation per new check, for example dropping case 0: tex1d to show the tex1d texture_native case fails, would show they observe the binding.
  6. CI: gh pr checks 3049 passes, but the pr test preset matches none of native_compute_manifest_reasons, startup_compute_dispatch_native_warp or startup_compute_dispatch_texture_native_warp, so no CI job ran the changed tests. Please include the focused ctest command and result for the refreshed head.

#3154 and #2975 touch the same binding and manifest paths, so whichever lands first will change the other's merge.

This comment was AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7236043853 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7236043853). Originally posted by [JohnConnorNPC](https://github.com/JohnConnorNPC) on 2026-11-28T07:36:02Z. --- Thanks for this work. I rechecked head `1356e232` against current `main` `c3204a9c` (200 commits ahead of the merge-base); it is still conflicting. Could you refresh the branch and fix the following before merge? 1. Conflicts: `git merge-tree --write-tree main 1356e232` exits 1 with `CONFLICT (content)` in `src/startup_stubs/d3d12_compute_dispatch.inl` (3 hunks) and `tests/startup_stream_consumer.cpp` (1 hunk). In the binding loop, main's `const unsigned channels = x2w::exact_texture_uav_channels(view.kind);` (#3243) and this PR's `texture_output = view.kind == Kind::texture_uav || ...` both need to survive: the exact-width float/float2/float3 kinds and the four-channel kinds, including 1D. Taking either side alone drops one set. 2. Cache assertions: the new `assert all(p.name.startswith('req_') or p.name == 'native' for p in cache.iterdir())` (`startup_compute_dispatch_native_check.py`, both new cases) rejects the `revision.txt` that main's `d3d12_draw.inl` writes (`L"%s\\revision.txt"`). The local reconciliation above measured both `startup_compute_dispatch_native_{warp,hardware}` failing there. Main's existing case already uses `p.name not in ('native', 'revision.txt')`; please reuse that and keep rejecting any other entry. 3. Manifest refusal reason: in `format_compute_runtime_manifest`, the new `default: return std::nullopt;` skips the `refuse(...)` added by #3268. On the trial-merged `src/direct_compute_cache.cpp`, `grep -c 'return std::nullopt'` goes from 15 to 16. Main's `native_compute_manifest_reasons` case `"UAV kind texture_uav cube"` (dim 3, default `array_count = 1`) now enters the widened branch and returns an empty reason, so that case would print FAIL. I derived this from the code; the test is Windows-only and I have not run it. `default: return refuse(view_shape("UAV", b));` would keep the reason. 4. The matched original-program run asked for in this thread (attributing the first-chance AV and texture-upload count changes) is still open, so the merge blocker stays open. 5. The new native cases skip on WARP (77), so they only go red on a wave32 + SM6.6 adapter. A mutation per new check, for example dropping `case 0: tex1d` to show the `tex1d` texture_native case fails, would show they observe the binding. 6. CI: `gh pr checks 3049` passes, but the `pr` test preset matches none of `native_compute_manifest_reasons`, `startup_compute_dispatch_native_warp` or `startup_compute_dispatch_texture_native_warp`, so no CI job ran the changed tests. Please include the focused `ctest` command and result for the refreshed head. #3154 and #2975 touch the same binding and manifest paths, so whichever lands first will change the other's merge. This comment was AI-assisted.
Leyukaka commented 2026-11-28 18:29:58 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-28T18:29:58Z.


@sydney-0o taking this over since there has been no activity for 2 h; will hand back if you resume.

Plan: a new branch from current main with your commit e56cb78d (you as co-author), my three commits already here (127d8823, 18314e0d, 4f57cbc3) and #2975's PSO-failure wave note (76d2b9d0, e18549ca). The conflicts are resolved so that #3243's exact-width channels and this PR's four-channel kinds both survive; then JohnConnorNPC's 07:36 points 2, 3, 5 and 6, and the matched original-program run (point 4). #3154 touches the same files, so I will rebase on whichever lands first. The new PR will link #3049, #2975 and #2993; R0Y00, say whether you want those closed once it is up.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7243835635 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7243835635). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-11-28T18:29:58Z. --- @sydney-0o taking this over since there has been no activity for 2 h; will hand back if you resume. Plan: a new branch from current `main` with your commit `e56cb78d` (you as co-author), my three commits already here (`127d8823`, `18314e0d`, `4f57cbc3`) and #2975's PSO-failure wave note (`76d2b9d0`, `e18549ca`). The conflicts are resolved so that #3243's exact-width channels and this PR's four-channel kinds both survive; then JohnConnorNPC's 07:36 points 2, 3, 5 and 6, and the matched original-program run (point 4). #3154 touches the same files, so I will rebase on whichever lands first. The new PR will link #3049, #2975 and #2993; R0Y00, say whether you want those closed once it is up.
Leyukaka commented 2026-11-28 20:24:17 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-28T20:24:17Z.


Refreshed as #3398 on main 8ecd30fe: points 1-3, 5 and 6 of the 07:36 review are addressed there (conflicts resolved keeping #3243, revision.txt accepted, #3268's reason kept, mutants and the focused ctest command with its result). Point 4, the matched original-program run, is next. Leaving #2975 and #2993 open for @R0Y00 to decide.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7245261314 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7245261314). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-11-28T20:24:17Z. --- Refreshed as #3398 on `main` `8ecd30fe`: points 1-3, 5 and 6 of the 07:36 review are addressed there (conflicts resolved keeping #3243, `revision.txt` accepted, #3268's reason kept, mutants and the focused `ctest` command with its result). Point 4, the matched original-program run, is next. Leaving #2975 and #2993 open for @R0Y00 to decide.
JohnConnorNPC commented 2026-11-29 12:40:48 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by JohnConnorNPC on 2026-11-29T12:40:48Z.


Coordination note, since this is the PR where the maintainer asked for coordination. I checked against main 77d1ba4d.

  • #3398 carries this branch rebuilt on current main. #2975 and #2993 were closed today in favour of #3398. Items 1, 2 and 5 of the earlier 07:36 review are fixed there:
    • #3243 is kept (exact_texture_uav_channels beside the four_channel switch).
    • revision.txt is accepted (p.name in ('native', 'revision.txt')).
    • The #3268 reason stays (default: return refuse(view_shape("UAV", b));).
  • This head (1356e232) still conflicts. git merge-tree --write-tree --name-only origin/main 1356e232 exits 1 in 6 files, and also against main plus #3398 (same 6 files). Only one of this PR and #3398 can land.

MUST

  1. Please pick one candidate. Either close this PR in favour of #3398, or say which one should land. I suggest #3398, because it is the only one that merges with main. Its own blocker is the unanswered texture_native Windows report on dfd8cb2c (see my comment there). The matched original-program run asked for here is still open on both PRs; #3398's body lists it as next.

Merge order after that: #3398, then #3386, then #3397. The last two share an identity_dst_sel conflict with main, and #3398 does not add to it.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7255985786 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7255985786). Originally posted by [JohnConnorNPC](https://github.com/JohnConnorNPC) on 2026-11-29T12:40:48Z. --- Coordination note, since this is the PR where the maintainer asked for coordination. I checked against `main` `77d1ba4d`. - #3398 carries this branch rebuilt on current `main`. #2975 and #2993 were closed today in favour of #3398. Items 1, 2 and 5 of the earlier 07:36 review are fixed there: - #3243 is kept (`exact_texture_uav_channels` beside the `four_channel` switch). - `revision.txt` is accepted (`p.name in ('native', 'revision.txt')`). - The #3268 reason stays (`default: return refuse(view_shape("UAV", b));`). - This head (`1356e232`) still conflicts. `git merge-tree --write-tree --name-only origin/main 1356e232` exits 1 in 6 files, and also against `main` plus #3398 (same 6 files). Only one of this PR and #3398 can land. **MUST** 1. Please pick one candidate. Either close this PR in favour of #3398, or say which one should land. I suggest #3398, because it is the only one that merges with `main`. Its own blocker is the unanswered `texture_native` Windows report on `dfd8cb2c` (see my comment there). The matched original-program run asked for here is still open on both PRs; #3398's body lists it as next. Merge order after that: #3398, then #3386, then #3397. The last two share an `identity_dst_sel` conflict with `main`, and #3398 does not add to it. AI-assisted.
Leyukaka commented 2026-12-01 16:20:44 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-12-01T16:20:44Z.


This looks superseded by main: the native compute table buffer and texture view bindings landed with #3398 (merged as dc9362539; four-channel and half4 texture UAVs on the native compute route), which carried this work forward. One- and two-channel D16 publication is tracked separately in #3305. Unless there is a part of this delta that is still missing on main, this one can probably be closed. Happy to be corrected if I missed something.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7317448236 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7317448236). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-12-01T16:20:44Z. --- This looks superseded by `main`: the native compute table buffer and texture view bindings landed with #3398 (merged as dc9362539; four-channel and half4 texture UAVs on the native compute route), which carried this work forward. One- and two-channel D16 publication is tracked separately in #3305. Unless there is a part of this delta that is still missing on `main`, this one can probably be closed. Happy to be corrected if I missed something.
R0Y00 commented 2026-12-02 19:54:19 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-02T19:54:19Z.


Closing as superseded by #3398, merged into main at dc936253. That PR carries the native table buffer and texture bindings from #2975 and #2993, including 1D and 3D UAV publication, the sampler refusal, and the zero-WSize volume control. I confirmed the zero-WSize fixture is still on current main. Thanks @sydney-0o and @Leyukaka for carrying this across the branch transition. Narrow one- and two-channel half-float UAV publication continues in #3305.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7356907698 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3049#issuecomment-7356907698). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-12-02T19:54:19Z. --- Closing as superseded by #3398, merged into `main` at `dc936253`. That PR carries the native table buffer and texture bindings from #2975 and #2993, including 1D and 3D UAV publication, the sampler refusal, and the zero-WSize volume control. I confirmed the zero-WSize fixture is still on current main. Thanks @sydney-0o and @Leyukaka for carrying this across the branch transition. Narrow one- and two-channel half-float UAV publication continues in #3305.

Pull request closed

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!3049
No description provided.