gpu: cover formatted stores on an R32_UINT placed buffer #439
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!439
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-435"
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?
@theappartment on GitHub · 2026-11-27 18:07 UTC · original
theappartment:fix/formatted-structured-buffers-255→main· +30 −4 · 1 files · 1 commits · merged 2026-11-28 01:57 UTCRefs #255
Five compute dispatches in two local Series S world traces bound an aligned placed UAV with DXGI 42 (
R32_UINT) tobuffer_store_format_xyzw. The match follows the instruction to the recorded table slot and entry. The five remained after excluding dispatches flagged for a descriptor rebinding at submission. Structured views with 20- and 32-byte strides were also present in the tables. Those entries did not get an exact static match to a formatted store in the sample.Extend the existing Metal value test to use a placed
R32_UINTUAV with a nonzero first element. It verifies that the formatted store writes the first component, a dword store writes all four words at its own offset, and the formatted load reports the stored value and view length. This is a test-only change. The suspected silent write loss did not reproduce for the identified format on main.Tests
tools/macos/test-native.sh --offline -j 4 -p victory-gpupassed on Metal. 412 passed, 6 ignored.@Olima34 on GitHub · 2026-11-28 01:57 UTC · original · approved these changes
Check report (helping the maintainer clear the queue):
checkandmacos-scriptsgreen on the current head.R32_UINTplaced buffer UAV to the formatted store/load test: only the first component is stored, a dword store writes all four. The typed-view counts are updated to match.6f95c132) merged with #507, #417 and #439. On it, thevictory-gpu(arm64) andvictorytests pass, as do Windows clippy (-D warnings) andcargo xtask policy. Onevictory-gpurun in three failed main's ownmulti_mip_array_and_placed_depth_twins_preserve_all_subresources_and_remirror_immediately, a test that also flakes on main alone.Thanks @theappartment!