startup: translated compute Dispatch with 2D texture views, static samplers and a per-key census #2482
Open
NiiRoZz wants to merge 47 commits from
upstream-pr/2490 into main
pull from: upstream-pr/2490
merge into: R0Y00:main
R0Y00:main
R0Y00:codex/indirect-large-backed-views
R0Y00:codex/word3-preflight-check
R0Y00:codex/vertex-table-two-records
R0Y00:codex/live-index-alias
R0Y00:codex/copied-vertex-buffer-srv
R0Y00:codex/windows-stage-test-output
R0Y00:codex/preserve-live-srv-retirement
R0Y00:codex/share-render-target-tracking
R0Y00:codex/sgd5-negative-offset-fixture
R0Y00:coverage-dashboard
R0Y00:codex/mesh-loose-root
R0Y00:codex/mesh86-cache-padding
R0Y00:codex/xmem-scatter-preflight
R0Y00:codex/mesh-depth-ps
R0Y00:codex/indirect-dispatch-refresh
R0Y00:codex/compute-container-index
R0Y00:codex/startup-compute-formatted-load
R0Y00:codex/compute-indirect-producer
R0Y00:codex/compute-atomic-soffset
R0Y00:codex/mesh-dual-handoff
R0Y00:codex/startup-run-sh-watcher-control
R0Y00:codex/queue31-page-alias
R0Y00:codex/indexed-indirect-compute-root
R0Y00:codex/typed-buffer-view-metadata
R0Y00:codex/translated-indexed-address-alias
R0Y00:codex/fixed-mesh-create-result
R0Y00:codex/xmem-section-lease
R0Y00:codex/startup-slot86-mesh-cache
R0Y00:codex/restore-mesh-barrier-iteration
R0Y00:codex/translated-indirect-upload-index
R0Y00:codex/xapu-completion-opt-in
R0Y00:codex/translated-indexed-rect
R0Y00:codex/translated-indexed-indirect
R0Y00:codex/startup-mesh-lds-integration
R0Y00:codex/startup-console-ms24
R0Y00:codex/startup-slot57-mesh-request
R0Y00:codex/indirect-copy-provenance
R0Y00:codex/present-color-producer-trace
R0Y00:codex/compute-dispatch-binding-trace
R0Y00:codex/translated-indirect-table-buffers
R0Y00:codex/indirect-copy-provenance-base
R0Y00:codex/mix-half-literal-source
R0Y00:codex/translated-indirect-draw
R0Y00:codex/xmem-scatter-diagnostics
R0Y00:codex/slot148-recording-upload
R0Y00:codex/slot70-loading-art-verified
R0Y00:codex/command-list-upload-arena
R0Y00:codex/recover-failed-command-list
R0Y00:codex/startup-heap-timing-notes
R0Y00:codex/align-audio-input-timeline
R0Y00:codex/synthetic-depth-export-control
R0Y00:codex/startup-texture1d-on-windows
R0Y00:codex/1629-packed-position-fixture
R0Y00:codex/cpu-srv-refresh
R0Y00:codex/stream-root-srv-draw
R0Y00:codex/audio-mixer-timer
R0Y00:codex/startup-reload-published-shader
R0Y00:codex/priority-integrate-1284
R0Y00:codex/guest-sixteen-page-record
R0Y00:codex/aot-placed-dxr-batch
R0Y00:codex/guest-directory-selection
R0Y00:codex/gamesave-enumerate-read
R0Y00:codex/readme-archive-to-pixels
R0Y00:codex/pe-placed-view-draw
R0Y00:codex/archive-directory-gpu
R0Y00:codex/slot133-dxr-build
R0Y00:codex/materialize-placed-vertex-view
R0Y00:codex/dstorage-directory-offsets
R0Y00:codex/xg-nine-bc-copy
R0Y00:codex/xg-slot10-bc64-arrays
R0Y00:codex/dxr-guest-address-readback
R0Y00:codex/gpu-va-high-bits
R0Y00:codex/clarify-diagnostic-startup-scope
R0Y00:codex/xg-six-levels
R0Y00:codex/typed-derived-blend
R0Y00:codex/english-legal-text-progress
R0Y00:codex/address-bc-4ks
R0Y00:codex/dstorage-bounded-file-read
R0Y00:codex/wide-srv-offsets-menu
R0Y00:codex/startup-memory-srv
R0Y00:codex/bound-view-tail
R0Y00:codex/language-selector-readback
R0Y00:codex/setup-menu-progress
R0Y00:codex/cpu-plane-refresh
R0Y00:codex/startup-ubyte-vertex
R0Y00:codex/presenter-window-selection
R0Y00:codex/startup-uniform-buffer-lane
R0Y00:codex/intro-loop-timing
R0Y00:codex/static-clzero-loops
R0Y00:codex/document-rtx-intro
R0Y00:codex/startup-insertq
R0Y00:codex/nv12-startup-texture
R0Y00:codex/stream-stage-draw
R0Y00:codex/startup-null-uav-format
R0Y00:codex/startup-draw-capture
R0Y00:codex/shorten-windows-checks
R0Y00:codex/dstorage-rfc1950
R0Y00:codex/startup-dump-fence
R0Y00:codex/pr1135-review-base
R0Y00:codex/startup-stream-requests
R0Y00:codex/startup-chroma-view
R0Y00:codex/readme-graphics-pipeline-streams
R0Y00:codex/static-crt-free-tls
R0Y00:codex/arc-140t-rtx-5080-laptop-gpu-reports
R0Y00:codex/main-startup-progress-entry
R0Y00:codex/signed-dxil-catalogue
R0Y00:codex/reloc-free-preferred-base
R0Y00:codex/quad-dpp-bit-mask
R0Y00:codex/raw-srv-bounds
R0Y00:codex/rx9070-31044-hardware-report
R0Y00:codex/gpu-page-source-provenance
R0Y00:codex/runtime-placeholder-interior
R0Y00:codex/gpu-copy-queue-tile-order
R0Y00:codex/pe-pin-external-providers
R0Y00:codex/xmem-placeholder-reservations
R0Y00:codex/xmem-shared-physical-pages
R0Y00:codex/pe-package-startup
R0Y00:codex/xmem-tools-memory-query
R0Y00:codex/cpu-stack-output-import
R0Y00:codex/pe-load-security-cookie
R0Y00:codex/record-three-bvh-retests
R0Y00:codex/cpu-rbp-frame-anchor
R0Y00:codex/xmem-default-startup
R0Y00:codex/record-rtx-3050-ti-9597
R0Y00:codex/docs-readme-start-here
R0Y00:codex/check-compute-mad24-truncation
R0Y00:codex/docs-discord-community
R0Y00:codex/bound-rcx-branch-mutants
R0Y00:codex/rtx5060ti-bvh-62114
R0Y00:codex/837-neutral-readme-disclaimer
R0Y00:codex/record-rtx-3070-ti
R0Y00:codex/title-neutral-public-wording
R0Y00:codex/exe-shadow-frame-submissions
R0Y00:codex/exe-shadow-runtime-chain
R0Y00:codex/readme-polish
R0Y00:codex/gpu-coverage-nov23
R0Y00:codex/spirv-minlod
R0Y00:codex/shadow-shim-device
R0Y00:codex/exe-two-shadow-frames
R0Y00:codex/shim-dispatch-cleanup
R0Y00:codex/fix-spirv-cache-probe
R0Y00:codex/sampler-use
R0Y00:codex/ballot-bit-extract
R0Y00:codex/packed-fma-release
R0Y00:codex/cpu-packed-fma-o2
R0Y00:codex/publish-coverage-dashboard
R0Y00:codex/mesh-cbv-binding-order
R0Y00:codex/spirv-window-fixture
R0Y00:codex/ps-e32-float-uint
R0Y00:codex/ps-cbuffer-reads
R0Y00:codex/fixed-profile-rescan
R0Y00:codex/shim-compute-integration
R0Y00:codex/readme-visible-coverage
R0Y00:codex/readme-research-navigation
R0Y00:codex/integrate-pr-256
R0Y00:codex/indexed-mesh
R0Y00:codex/sampled-coverage
R0Y00:codex/first-ms
R0Y00:codex/dual-ps
R0Y00:codex/ps-attribute
R0Y00:codex/compute-first
R0Y00:codex/ps-export
R0Y00:codex/readme-research-status
R0Y00:codex/ps-layout
R0Y00:codex/blast-window
R0Y00:codex/chart-caption
R0Y00:codex/reviewer-roles
R0Y00:codex/blast-aot
R0Y00:codex/archive-program
R0Y00:codex/crc-stream-program
R0Y00:codex/exe-image-data-chain
R0Y00:codex/local-cpu-fixture-coverage
R0Y00:codex/exe-bound-frame-chain
R0Y00:codex/exe-mapped-comparison
R0Y00:codex/contribution-dependencies
R0Y00:codex/exe-entry-aot
R0Y00:codex/bink-frame-heap-integration
R0Y00:docs/hardware-seven-reports
R0Y00:codex/bink-custom-heap
R0Y00:codex/bink-heap-callers
R0Y00:codex/discussions-entry-points
R0Y00:codex/gpu-community-batch-64
R0Y00:codex/ffx-scratch-writers
R0Y00:codex/generic-project-documentation
R0Y00:codex/ffx-dispatch-rcas
R0Y00:codex/four-windows-gpu-reports
R0Y00:codex/title-neutral-project-wording
R0Y00:codex/community-coverage-provenance
R0Y00:codex/rcas-packed-texels
R0Y00:codex/community-gpu-retests
R0Y00:codex/community-build-and-gpu-reports
R0Y00:codex/ffx-provider-loop
R0Y00:codex/ffx-recurrent-views
R0Y00:codex/ffx-recurrent-resource
R0Y00:codex/amd-wave64-reports
R0Y00:codex/ffx-backend-slots
R0Y00:codex/upscaler-device-init
R0Y00:codex/ffx-context-lifecycle
R0Y00:codex/ffx-version-query
R0Y00:codex/ffx-provider-contract
R0Y00:codex/typed-object-callback
R0Y00:codex/cpu-ordinal-import
R0Y00:codex/chained-cpu-ranges
R0Y00:codex/cpu-import-call
R0Y00:codex/cpu-direct-call
R0Y00:codex/cpu-leaf-aot
R0Y00:codex/community-project-status
R0Y00:codex/script-state-path-replay
R0Y00:codex/script-state-evidence
R0Y00:codex/bc7-resident-tail
R0Y00:codex/bcpack-mip-tail
R0Y00:codex/bc7-texture-draw
R0Y00:codex/asset-ranges
R0Y00:codex/pixel-constants
R0Y00:codex/pixel-aot
R0Y00:codex/pre-exe-workloads
R0Y00:codex/root-signature-device-coverage
R0Y00:engineering/packed-bvh-leaves
R0Y00:engineering/bvh-build-and-update
R0Y00:engineering/intake-root-roundtrip
R0Y00:community/gpu-check-release
R0Y00:community/english-contributor-entry
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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!2482
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2490"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by NiiRoZz on 2026-11-25T18:30:44Z.
Depends on #2470 (stacked on its branch, which itself carries #1803, #1974 and #1975); the new code is the last seven commits.
Why
A run of a console package with the first slice recorded no translated Dispatch. Its log and shader cache, counted
offline (counts only):
40 a raw buffer input, 9 a static sampler, 6 the
strideanddescword3entry values, 48 declare no entryvalue, 8 have no view at all, and none has a raw buffer output;
raw buffer, 6 declare no entry value, none uses a sampler;
keys by Dispatch count.
What changes
8e14a74b). Each key keeps its Dispatch count, the calls recorded, and the reason and tabledescriptor of its first refusal. The periodic totals line gains
not modelled <n>(a manifest exists but holdsa line the runtime does not bind, counted apart from an absent manifest) and is followed by the refused calls
per reason and every dispatched key by call count.
f2f7bfcc).uav <i> tex2d float table <param> <byte> channels 4is bound from thetoken of the unordered access view the caller created (device slot 19). Refused, each with its own reason: an
entry that is no such token, a view the desktop did not create, a view that is not 2D, a packed view format, a format a
float4store cannot target (integer, typeless), a texture that is also an input of the same call. Programs
without entry values, inputs or outputs now load: the translated root no longer emits an empty range, and keeps
its table when only outputs exist.
15e8b7ab).srv <i> tex2d table <param> <byte>is bound from thetoken of a shader resource view (device slot 18) through the texture the draw path samples for that resource,
uploaded first when the caller filled it in memory.
smplines become static samplers. Refused: no such token,no desktop texture, a view that is not 2D, a packed view format, a failed upload.
No view is bound null. A refused call records no Dispatch and binds nothing; the upload of an input texture the
caller filled in memory may already be recorded, which only syncs content.
With these line forms, 55 of the 61 manifests load, including all 7 the run dispatched (offline count against the
manifest text; the 6 others need
strideanddescword3).Not in this change
strideanddescword3entry values (6 manifests, none among the 7 dispatched).says a dispatched program needs it; the census of the next run will.
output of the same call (a mip chain pass), packed view formats.
Evidence
Commit under test:
d0b9e774for the four tests below;d3c396ccfor the neighbouring run (the commits between them throttle a device check, drop a liveness test, narrow the same-texture refusal to input against output, refuse packed output formats by name and print every census key). Windows 11 build 26300.startup_compute_dispatch_warpstartup_compute_dispatch_texture_warpstartup_compute_dispatch_hardwarestartup_compute_dispatch_texture_hardwareback through CopyTextureRegion on the stand-in's list. Expected: mip 0 of the fixture's CPU reference (64 halves
changed). Negative controls, same run: before the offline translation, without a Dispatch, and with a texture
that has no unordered access, every half keeps its sentinel and the refusal is logged once.
word. Expected: the case's 288 written words XOR the bits of 1.0f, the 32 others untouched. Negative control: no
view at the table entry, the dispatch is refused and every word keeps its sentinel.
ud 0.Neighbouring tests,
ctest --preset dev --no-tests=error -R '^startup_|sampler|list_copy|compute' -j 6: 864 selected, 860 passed, 0 failed. Capability skips, reported apart (4):startup_view_heap_warp,startup_small_texture_4k_addrlib,startup_logical_view_warp,startup_run_sh.Limits and open points
mode the static sampler has.
(one register field changed); the check asserts that the translation reads it as written, llvm-mc did not
assemble it here.
ud 0case uses an edited manifest on a program compiled with three unused entry values.something measured for compute; the census prints the first refused descriptor per key to settle it.
can show that this is right.
of about 1,500 Dispatch calls per frame and a few views each, the ring wraps after tens of frames; that a
recorded list never outlives a wrap is the draw path's assumption, not re-measured for compute.
measured run: its log names 8 dispatching keys (7 that waited for the runtime, 1 whose translation failed) and
no per-key count. The census answers it on the next run.
🤖 Generated with Claude Code
Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-25T19:14:54Z.
The two-mip follow-up is verified on the current head
f67f80a4. The test-only commit adds separate WARP and hardware CTests and uses the existing slot 67 / slot 14 fixture. I'll open the follow-up againstmainafter the runtime dependency lands.One translated Dispatch binds two UAVs of the same RGBA16_FLOAT texture at table bytes 64 and 128. Both mip readbacks match across all 1,280 half values, including the untouched texels. Before translation both mips retain their sentinels. Exchanging the UAVs moves the two patterns to the opposite mips and changes exactly 64 halves against the ordered result.
6/6 passed, no skips. Windows 11 build 26300.10075, RTX 4070 driver 32.0.16.2124, in-box WARP 10.0.26100.10068 and the SDK 10.0.26100 DXC. The debug layer was enabled on both adapters and reported no errors.
Update: #2532 brought the textured runtime onto
main. I ported the test onto2215c26d(efd69f8e) and both mip tests passed. A separate local integration (8dd586ef) with the current #2710 UAV fix passed all 12 compute, live-retry and pixel UAV tests on WARP and RTX 4070. #2710 modifies the same fixture, so I’ll open the follow-up after that change lands.Latest integration check: I combined
a766f287with #2710 at2aa18479and the isolated two-mip fixture in local head8f198d16. The 12-test compute Dispatch/live-retry/pixel-UAV group passed in both MSVC Debug and Release, zero skips. In each configuration WARP and RTX 4070 both matched all 1,280 half words for each view order. Swapping the views changed the expected 64 words, with the D3D12 debug layer enabled and no error message. I’ll submit the fixture as its own PR after #2710 lands.#2710 is now on main. The standalone two-mip fixture is open as #2882. On
b505c32bplus the fixture, all 24 Release cases passed, including the current array UAV/slot-67 regressions and both mip permutations on WARP and RTX 4070.Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-25T19:10:34Z.
I’ll take the uncovered two-UAV case mentioned in the PR description: one translated Dispatch, two output views of the same texture at distinct mips, with different expected values and a view-swap control. I’ll use the source-built fixture on RTX 4070 and WARP and keep it as a follow-up to this PR so the runtime work can land independently.
Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T19:13:11Z.
Built and ran it here: 8 C++ cases and both Python checks pass on WARP and on a physical GPU — with two manifest guards that no test constrains
I could build individual targets on this host even though the full build stops in DXC, so this is a run result,
not a reading.
What passed
Targets
startup_stream_consumer,startup_compute_root,startup_list_dispatch_check,startup_root_constant_storeallbuilt (
cmake --build --preset dev --target …, exit 0).Five negative controls around the list dispatch, and four conditions inside each dispatch assertion (before
translation, without a Dispatch, refused output, refused view) — that is the shape that makes the pass mean
something.
Three in-place mutations
Each one edited
src/startup_stubs/d3d12_compute_dispatch.inl, rebuiltstartup_stream_consumer, ran both suites,then restored the file and rebuilt.
startup_compute_dispatch_check.pyif (tr->state != 1)→if (true)(refuse every dispatch)return "manifest version";→return nullptr;return "not a compute manifest";→return nullptr;The first is the one that matters: making the not-ready path unconditional breaks the translated case immediately,
so the Python check really does assert that a ready manifest dispatches. It also shows the C++ cases and the Python
check cover different halves — the C++ ones never see a translated dispatch.
The two survivors are manifest-rejection texts, and I would not call them defects
load_compute_translationreturns a reason string when a manifest line does not match. Disabling the version checkand the stage check changes only the string recorded for a manifest that failed to load; the dispatch still
refuses, only with
nullptrinstead of"manifest version". No test feeds a malformed manifest, so nothingdistinguishes the two.
That is a coverage statement, not a bug: the refusal still happens. If you want the reasons pinned, one fixture that
writes
x2w-manifest 1and one that writesstage psand asserts the two strings would do it — cheap, and it wouldalso catch a future reordering of the manifest checks.
Build environment
Windows 11 build 26300.9974; DXC 10.0.26100; adapters: Microsoft Basic Render Driver (WARP) and the installed
physical GPU; debug layer enabled with no message in every run above. Individual targets build here — the earlier
"cannot build" boundary applied to the full target set, not to these.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-25T20:39:07Z.
Review: DISMISSED
Review of
f67f80a4(stacked on #2470; it inherits my #2470 notes). One P1, plus unpinned guards.P1: texture input on a COMPUTE command list breaks the list
dispatch_translatedaccepts COMPUTE lists (d3d12_compute_dispatch.inl:139,type != DIRECT && type != COMPUTErefuses only other types). A texture input is then transitioned tosampled_state(self, view.resource) | D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE(:279).sampled_state(d3d12_xs_device.cpp:2397-2402) always returnsPIXEL_SHADER_RESOURCE, and alsoDEPTH_READfor depth.PIXEL_SHADER_RESOURCE(0x80) isn't a valid barrier state on a compute command list.dispatch-sampledwith the consumer's queue, allocator and list switched to COMPUTE. On WARP and the RX 9070 XT the debug layer reportsID3D12CommandList::ResourceBarrier: D3D12_RESOURCE_STATES has invalid flags (0x80) for compute command list(id 537), followed bylist Close failed 0x80070057. With the debug layer off, Close still fails, and on hardware the process then exited0xC0000409.NON_PIXEL_SHADER_RESOURCE(and dropDEPTH_READthere too), and add a COMPUTE-list variant ofdispatch-sampled.Runs (Windows 11 build 26300; RX 9070 XT, driver 32.0.32029.2010; WARP 10.0.26100.9818; debug layer enabled)
--repeat until-fail:10.Mutants (one line each, rebuilt, restored)
:280)word=0 … 288 words differ)return "manifest version";→return nullptr;(:65, @ChazY11's guard)return "not a compute manifest";→return nullptr;(:69)if (false)at:65):222):218)float4storeOne fixture each with
x2w-manifest 1,stage ps, an integer-format UAV, and one texture as both input and output would pin these. The manifest version and stage are the translator–runtime contract, so they're worth pinning.Minor
RENDER_TARGETbefore the following draws.smpparser at:88passes&xtwice.Merge readiness
The branch merges cleanly against
mainand on top of #2470, but it can only land after #2470, per @R0Y00's 19:30 note there. The manifest format is unchanged, so no cache-key bump is needed. The new DLL exportx2w_d3d12_compute_censusis an interface addition for the maintainer to accept.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by NiiRoZz on 2026-11-25T21:00:55Z.
Thanks for the review. Head
76ce41bc, with the reworked #2470 (1f5fb5e4) merged in.P1, compute list barrier. Fixed at the call site by list type: on a
COMPUTElist a sampled texture input is transitioned toNON_PIXEL_SHADER_RESOURCEonly; a direct list keepssampled_state(...) | NON_PIXEL_SHADER_RESOURCE.sampled_statehas one other caller, the draw path, which only runs on direct lists. New modedispatch-sampled-computerecords the sampling fixture on a compute list and a compute queue and must give the same 320 words with no debug-layer error.Refusals that were not pinned. Four fixtures in
startup_compute_dispatch_texture_check.py, each requiring the one logged reason and an untouched texture: an RGBA16_UINT view (texture-store-uint), manifest version, stage, and the output texture also named as an input (texture-store-self, with a shader resource view of the same texture and a manifest line added by the check).Minor. The
smpmanifest line no longer scans two fields into one variable.Mutants (each applied alone, stand-in rebuilt,
startup_compute_dispatch_texture_warprerun; not committed)dispatch-sampled-compute: consumer exit 75(the list's Close fails)texture-store-uint(no refusal logged)texture-store-selfmanifest versionnot a compute manifestMeasured
4/4 passed, no skip:
startup_compute_dispatch_{warp,hardware}andstartup_compute_dispatch_texture_{warp,hardware}. WARP: Microsoft Basic Render Driver 10.0.26100.10068. Hardware: NVIDIA GeForce RTX 5090, driver 32.0.16.2135. Windows build 26300.10075, debug layer enabled, no error or corruption message. Before the pins were added, the wider filter (...|startup_root_constant_store|startup_list_dispatch|startup_compute_root|startup_stream) passed 30/30 on this branch except the then-newtexture-store-selffixture on WARP, which used a table offset that is not a descriptor boundary there; it now uses byte 0. That wider filter was not rerun after this last fixture change.Not done
🤖 Generated with Claude Code
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-25T21:33:41Z.
Review: COMMENTED
Re-review of
76ce41bc(stacked on #24701f5fb5e4). The P1 is fixed and the guards I listed are pinned.P1: texture input on a COMPUTE list (resolved)
NON_PIXEL_SHADER_RESOURCEonly (d3d12_compute_dispatch.inl:292).dispatch-sampled-computerecords the sampling fixture on a compute list and queue, and gives all 320 words with no debug-layer error on WARP and the RX 9070 XT.ResourceBarrier: D3D12_RESOURCE_STATES has invalid flags (0x80) for compute command list(id 537), thenlist Close failed 0x80070057, consumer exit 75. So the fixture guards the fix.DEPTH_READcan't arise on that path: a compute list never tracks it, andsampled_stateis no longer called there.Runs (Windows 11 build 26300; RX 9070 XT, driver 32.0.32029.2010; WARP 10.0.26100.9818; debug layer enabled)
startup_logical_view_*).Mutants (one line each, rebuilt, restored;
startup_compute_dispatch_texture_warp)return "manifest version";→return nullptr;return "not a compute manifest";→return nullptr;texture-store-self)texture-store-uint)Thanks for pinning @ChazY11's two guards as well.
Still open (acknowledged in your note; not blocking for this slice)
RENDER_TARGETafter a translated Dispatch.d0b9e774and doesn't mention the compute-list transition; worth refreshing.Merge readiness
mainand lands after #2470, in the order @R0Y00 set there.x2w_d3d12_compute_censusexport is an interface addition for the maintainer to accept.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-25T21:21:34Z.
@MasterDomino I independently ran
76ce41bcin Windows Release. Both the direct raw-buffer CTests and the texture Dispatch CTests passed on WARP and RTX 4060 Laptop (4/4). The latter exercise the updated COMPUTE-list shader-resource transition. Please recheck your previous request at this head when you can. This remains stacked on #2470, whose earlier recorded-state slice must land first.Imported from R0Y00/Xbox2Windows. Originally posted by NiiRoZz on 2026-11-25T21:46:21Z.
Merged the current #2470 head (
f5b03039) into this branch. Head190e00a1.Changed
Measured (Windows 11 build 26300.10075, debug layer on, no error or corruption message)
startup_compute_dispatch_{warp,hardware}andstartup_compute_dispatch_texture_{warp,hardware}.startup_compute_dispatch_hardwarewas run 10 times in a row: 10/10 passed, so all 100 consumer processes exited 0.Not rerun
Still open (not in this slice)
RENDER_TARGETafter a translated Dispatch.d0b9e774and does not mention the COMPUTE-list transition. It will be refreshed with the #2470 trim.x2w_d3d12_compute_censusexport is a new interface; accepting it is up to the maintainer.Imported from R0Y00/Xbox2Windows. Originally posted by NiiRoZz on 2026-11-25T21:56:17Z.
On the two remaining notes:
🤖 Generated with Claude Code
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-25T22:09:49Z.
Thanks, @NiiRoZz. Both answers work for me, so neither note blocks this PR:
Still waiting on: the order #1803 → #1974 → #1975 → trimmed #2470, an executable run on the final candidate, and @R0Y00 accepting the
x2w_d3d12_compute_censusexport.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T03:41:25Z.
@NiiRoZz @MasterDomino #2532 was squash-merged into
mainasde75613fb, and it was stacked on this branch: its history includes "Merge pr2470 (origin/main) into pr2490". Comparing this head with currentmain(git merge-tree --write-tree origin/main <head>, thengit diff origin/main <tree> --stat), the texture-view Dispatch path is already onmain. Of about 930 added lines, about 19 are not onmain, and those are small form changes (for example the 32-byte texture/entry fields ofSlot).Is anything here still needed beyond what landed? If not, this PR could be closed as superseded by #2532. Any leftover tweak could go as a small follow-up against
main. If you would rather keep this one open for that, just say so here.Thanks for the work on this stack.
AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-26T03:44:10Z.
Thanks, @tedin7. Confirmed on
main(8016c393): the texture-view Dispatch path, the COMPUTE-list transition fix,dispatch-sampled-computeand the census export came in with #2532. Closing this as superseded is fine with me once @NiiRoZz confirms the remaining small differences aren't needed. I've followed up on the open gates (slot 35 controls, the matched title run, the census export) in #2470: https://github.com/R0Y00/Xbox2Windows/pull/2470#issuecomment-7181977756AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-27T09:36:27Z.
This PR now conflicts with
main. Conflicting files:CMakeLists.txtdocs/experiments.mdsrc/startup_stubs/d3d12_compute_dispatch.inlsrc/startup_stubs/d3d12_xs_device.cpptests/startup_compute_dispatch_check.pytests/startup_compute_dispatch_texture_check.pytests/startup_stream_consumer.cppCould you merge
maininto your branch (a merge commit, no force push needed) and resolve these? Thank you.AI-assisted; commands listed were executed locally. (
git merge-tree origin/main <head>)Imported from R0Y00/Xbox2Windows. Originally posted by JohnConnorNPC on 2026-11-28T07:35:03Z.
I suggest closing this as superseded by #2532. I rechecked this head (
d3fe0303) againstmainatc3204a9c:mainthrough #2532:git merge-base --is-ancestor de75613f origin/main→ true.maintoo. All 8 non-blank lines this PR adds toCMakeLists.txtappear verbatim there (grep -vxcF -f <main CMakeLists.txt>over the added lines →0), so merging would add no new check.git merge-tree --write-tree --name-only origin/main d3fe0303 | grep -c ^CONFLICT→8.main, andmainhas a replacement for each:dispatch_translated→record_translated_dispatch,retry_manifest_at→x2w_startup::ManifestRetry, andfloat_output_format→ the "an output texture format is not a float or normalized one" refusal.reviewThreads→ 0 unresolved).If something from this branch is still missing on
main, please open a small PR against currentmainwith just that change. Thanks for the work here.This comment was AI-assisted.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.