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!3811
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3809"
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:18 UTC · original
timbot103:shader/compute-descriptor-scc→main· +336 −102 · 16 files · 1 commits · merged 2026-12-02 02:38 UTC## Summary
Extends provable symbolic descriptor-field SCC handling in native direct compute (Part of #3226, #2935; listed under "No open PR" on #3226, 2 shaders / 430,886 dispatches):
src/gfx1013_direct_compute.inl,src/gfx1013_compute_native.h,src/direct_compute_cache.cpp,src/native_compute_pipeline.*,src/startup_stubs/d3d12_compute_dispatch.inl,src/startup_stubs/native_mesh86.inl): generalizesstride_srvs->stride_sources(ComputeStrideSource { shader_register, writable }) so fixed tableraw_buffer_uavslots (including shared read-write raw views) supply their bound guest stride viaudsrc <k> uav_stride <u>on both the published manifest route and in-process native compute route (Mesh86 explicitly rejects writable stride sources). Non-raw_buffer_uavviews on a writable stride slot stay refused.src/gfx1013_direct_compute.inl): lowerss_cmp_*(SOPC) ands_cmpk_*(SOPK) when comparingSymbol::Type::strideorSymbol::Type::byte_stride(max(stride, 1)) instead of failing withunbound numeric SGPR.src/gfx1013_compute_native.cpp): preservesindexed_descriptorstride provenance ons_bfe_u32 ... 0xe0010(with a non-zerodefinitionsentinel strictly on the derivedstridesymbol soindexed_descriptor.definition == i.pcstays intact for mesh/graphics/heap-window consumers), ensuring an indexed table stride still refuses cleanly withnumeric SCC from a symbolic descriptor field.uses_scc_afteracross all supported SOP1/SOP2/SOPC/SOPK forms (tests/native_scc_liveness_check.py, 25/25 mutation kills), while keepingzero_stride_word,clear_oob, indexed/heap/CBV strides, and non-raw writable views refused withnumeric SCC from a symbolic descriptor field.Verification
Tested on Windows 11 (
26200.9974), MSVC19.44, Ninja, Windows SDK10.0.26100.0, app-local WARP1.0.22, and NVIDIA GeForce RTX 5080 (driver32.0.16.2140; D3D12 debug layer unavailable on this host):dev):ctest --preset dev --no-tests=error -R '^(native_descriptor_scc_|startup_compute_descriptor_scc_|native_scc_liveness|native_compute_manifest_|native_direct_container|native_direct_mesh|native_global_srv_heap_replay)'— 14/14 passed (0 failed, 0 skipped), covering mixed SRV/UAV strides on both native and published runtime dispatch routes plus mesh/heap regressions.release): 12/12 passed (0 failed, 0 skipped) for all targets above not linkingxg_xs.dll(local host AV quarantines Releasexg_xs.dll, whichstartup_stream_consumerlinks as a dependency;startup_compute_descriptor_scc_{hardware,warp}passed in Debug and also passed in the subagent's Release run using an alternate build path).git diff --check origin/main..HEAD: clean; zero new MSVC/W4warnings on edited lines.AI-assisted.
c2d4b8b023tofcd86dfbd5@R0Y00 on GitHub · 2026-12-02 02:09 UTC · original
The Linux job's final failing check is
tests/standin_exports_check.py. Please reconcile the D3D12 stand-in export expectations after rebasing on current main and rerun the check. Most otherFAILlines in that log are from expected mutation controls.@timbot103 on GitHub · 2026-12-02 02:35 UTC · original
@R0Y00 Rebased onto
main(3ecfbad7, picking up4be65468'sstandin_exports_check.pyfix) asfcd86dfb;standin_exports_check.py(470/470),startup_triage_run_check.py, and all Windows/Linux CI checks are now green.AI-assisted.