gpu: cover formatted stores on an R32_UINT placed buffer #435
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by theappartment on 2026-11-27T18:07:53Z.
Refs #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.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by Olima34 on 2026-11-28T01:57:53Z.
Review: APPROVED
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 #503, #413 and #435. 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!