No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3813
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3811"
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?
@timbot103 on GitHub · 2026-12-02 01:31 UTC · original
timbot103:runtime/compute-root-buffer-uav→main· +341 −8 · 9 files · 1 commits · merged 2026-12-02 02:38 UTC## Summary
Publishes and binds
ComputeViewKind::root_buffer_uavfor native direct compute on both the published manifest route and the in-process native compute route (Part of #3226, #2935; zero overlap with #3782, which coversroot_buffer_srvonly).src/gfx1013_compute_native.h,src/direct_compute_cache.cpp): addsruntime_root_buffer_uav()and emitsuav <i> root <param>informat_compute_runtime_manifestonly whenbyte_offset == 0,array_count == 1,array_position == 0,!requires_identity_dst_sel, andscalar_table == unknown(invalid shapes still fall through toUAV kind root_buffer_uavrefusal).src/startup_stubs/d3d12_xs_device.cpp): hooks list slot 45 (SetComputeRootUnorderedAccessView,list_compute_root_uav) to recordcompute_root_uavs[parameter]andcompute_root_uav_setper recording, clearing both onResetandSetComputeRootSignaturechanges.src/startup_stubs/d3d12_compute_dispatch.inl): parsesuav %2u root %2d(supporting 0..15 while rejecting 32-bitsscanfwraparound such as4294967296), wirestranslate_compute_natively, and validates every root UAV bind incompute_root_uav_buffer: requires aD3D12_ROOT_PARAMETER_TYPE_UAVslot set since the compute root, non-null 16-byte-aligned address, live uniquely-aliasedCOMMON-state placed buffer withALLOW_UNORDERED_ACCESS, writable title pages, whole-dword tail within the D3D12 raw UAV element limit, no overlap with active placements or inputs, no descriptor-word entry constants (uav_stride/uav_descword3/uav_numrecords), and recording retention.Verification
Added source-built end-to-end fixture
startup_compute_root_uav_native_{warp,hardware}(tests/startup_compute_root_uav_native_check.py) plus manifest refusal cases intests/native_compute_manifest_reasons.cpp. Tested on Windows 11 (26200.9974), MSVC19.44, Ninja, Windows SDK10.0.26100.0, app-local WARP1.0.22.0, and NVIDIA GeForce RTX 5080 (driver32.0.16.2140; D3D12 debug layer unavailable on this host):dev):ctest --preset dev --no-tests=error -R '^(startup_compute_root_uav_native_|native_compute_manifest_reasons)'— 4/4 passed (0 failed, 0 skipped).release-verify): 4/4 passed (0 failed, 0 skipped; test runner resolved its unusedxg_xs.dllimport from the source-built Debug DLL because host AV quarantined the Release DLL).git diff --check origin/main..HEAD: clean; zero new MSVC/W4warnings on edited lines.AI-assisted.
ea78cd9f33to77439e3d5b@R0Y00 on GitHub · 2026-12-02 02:09 UTC · original
Windows first fails
startup_triage_run: the root UAV refusal strings added by this PR are missing fromCOMPUTE_DISPATCH_REASONS. Linux also reportsstartup_triage_run_check.pyandstandin_exports_check.pyas failed. Please register the new refusal strings, reconcile the stand-in export expectations with the updated hook, and rerun those checks on current main.@timbot103 on GitHub · 2026-12-02 02:35 UTC · original
@R0Y00 Rebased onto
main(3ecfbad7) and registered all 19 compute root-UAV refusal strings inCOMPUTE_DISPATCH_REASONSintools/startup/triage_run.pyas77439e3d;standin_exports_check.py(470/470),startup_triage_run_check.py, and all Windows/Linux CI checks are now green.AI-assisted.