native: note dispatch writes from safely read table records #447
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by lautarocherro on 2026-11-27T19:53:03Z.
What this changes
Refs #445.
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)