compute: name the packed D16 and indexed raw view kinds in manifest reasons #3397
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!3397
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3395"
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?
@Not-Saii on GitHub · 2026-11-28 19:01 UTC · original
Not-Saii:compute/manifest-kind-names→main· +5 −1 · 2 files · 1 commits · closed without mergingRefs #3226
The kind-name table behind
format_compute_runtime_manifest's refusal reasons (#3270) predatespacked_d16_x_uavandindexed_raw_srv. Programs that use them were reported asUAV kind unknown/SRV kind unknown, for example instartup_compute_half_buffer_uav_controlsonmain.src/direct_compute_cache.cpp: both kinds are named. Astatic_assertties the table's length to the last enumerator, so renaming or removing the last kind fails to compile. A kind appended after it still needs a name added by hand; the comment says so.tests/native_compute_manifest_reasons.cpp: one more case,SRV kind indexed_raw_srv.Only the reason text changes; what is published is unchanged. The
triage_run.pyallowlist already accepts these names. This does not fixstartup_compute_half_buffer_uav_controls: its 1-channel store still has no manifest line forpacked_d16_x_uav, which is SimSalabimse's claim on #3226. The failure message now names the kind instead ofunknown.Verification
Commit
1eca8d54onmainf2972840. Windows 11 build 26300, MSVC x64 Debug, Windows SDK 10.0.26100 DXC.native_compute_manifest_reasons: passed,0 of 24 manifest reasons wrong.startup_compute_half_buffer_uav_controlsstill fails, as onmain, but now printsno_manifest ... UAV kind packed_d16_x_uav.AI-assisted.
🤖 Generated with Claude Code
@KelboLive on GitHub · 2026-11-28 19:08 UTC · original · reviewed
LGTM — safe, targeted change.
The
view_kind_nametable indirect_compute_cache.cppnow namespacked_d16_x_uavandindexed_raw_srv, so refused manifests sayUAV kind packed_d16_x_uavinstead ofunknown. Thestatic_assertties the table length to the last enumerator, catching renames or removals at compile time. One test case coversindexed_raw_srv. Non-breaking — only the text changes.Ready to land.
github-bot referenced this pull request2026-11-28 19:58:36 +00:00
@KelboLive on GitHub · 2026-11-28 20:29 UTC · original · approved these changes
LGTM — safe, targeted change.
The
view_kind_nametable indirect_compute_cache.cppnow namespacked_d16_x_uavandindexed_raw_srv, so refused manifests sayUAV kind packed_d16_x_uavinstead ofunknown. Thestatic_assertties the table length to the last enumerator, catching renames or removals at compile time. One test case coversindexed_raw_srv. Non-breaking — only the text changes.Ready to land.
@KelboLive on GitHub · 2026-11-28 21:56 UTC · original · approved these changes
LGTM — safe, targeted change.
The
view_kind_nametable indirect_compute_cache.cppnow namespacked_d16_x_uavandindexed_raw_srv, so refused manifests sayUAV kind packed_d16_x_uavinstead ofunknown. Thestatic_assertties the table length to the last enumerator, catching renames or removals at compile time. One test case coversindexed_raw_srv. Non-breaking — only the text changes.Ready to land.
@Not-Saii on GitHub · 2026-11-29 01:56 UTC · original
Closing in favor of #3391. @SimSalabimse's PR adds the same two
view_kind_nameentries (packed_d16_x_uav,indexed_raw_srv) and the samestatic_asserton the table size, so merging both would only produce a conflict.The one thing here that #3391 doesn't have is a reasons case for
indexed_raw_srvintests/native_compute_manifest_reasons.cpp. It's optional; add it to #3391 if it's useful:AI-assisted.
github-bot referenced this pull request2026-11-29 18:15:46 +00:00
Pull request closed