Skip to content

Test scalar and vector byte offsets on MTBUF stores - #1

Open
aziaconsal2026 wants to merge 1 commit into
mercuryVM:impl/tbuffer-storefrom
aziaconsal2026:test/mtbuf-offset
Open

aziaconsal2026 wants to merge 1 commit into
mercuryVM:impl/tbuffer-storefrom
aziaconsal2026:test/mtbuf-offset

Conversation

@aziaconsal2026

Copy link
Copy Markdown

The existing layout test uses a fixed 16-byte immediate offset. This synthetic compute test also supplies a per-lane vector byte offset and a scalar byte offset. It checks the destination and all neighboring sentinel words for five combinations.

Tested on Windows 11 with Radeon 780M and WARP using Rust 1.98.1 MSVC. All 72 tests passed with cargo test --locked -p victory-shader --features host -- --test-threads=1. In a negative control that disabled the vector offset for typed stores, the hardware run wrote at byte 16 instead of byte 20 for vector=4 and scalar=0.

Based on 837bb40 from Marvisak#707. Merging here adds the test to that PR. AI-assisted, with synthetic data only.

mercuryVM pushed a commit that referenced this pull request Nov 24, 2026
GetProcAddress rejected every ordinal below 0x10000 for our pseudo modules, but some APIs (GameInputCreate) are exported only as ordinal 1. Look up the registry's #n export name so a title that loads the module and asks for its ordinal gets the implementation. Add a regression for gameinput.dll #1 and an unexported ordinal.
mercuryVM pushed a commit that referenced this pull request Nov 24, 2026
Exercise the descriptor cursor regression on the actual heap capacity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant