native: note dispatch writes from safely read table records #451
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!451
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-447"
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?
@lautarocherro on GitHub · 2026-11-27 19:53 UTC · original
lautarocherro:fix/note-written-safe-reads→main· +101 −15 · 3 files · 1 commits · merged 2026-11-28 00:28 UTCWhat this changes
Refs #449.
note_writtenruns for every prepared dispatch since95627c66and read each table record with a plain load. It now reads records likeremirror_tablesdoes (table_records: onesafe_read, entry by entry if that fails) and looks the views up with one lock per table (descriptor::views_of).remirror_tablesuses the same helper.How it was tested
cargo test --target x86_64-apple-darwin -p victory-hle -p victory-loader -p victory: 391 passed.cargo test -p victory-gpu(native arm64, Metal Shader Converter set): 413 passed. New:a_table_running_into_an_unreadable_page_is_noted_without_a_fault(a table bound at the last entry of a page, its span running into aNO_ACCESSpage). On main it ends the test process with SIGBUS.cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings: passes. macOS clippy for victory-gpu: no finding on changed lines.Checklist
VICTORY_*variable and documented (none)