Value test on Metal for computed compute buffers (native-host.md: only translation is tested) #421

Open
opened 2026-11-27 17:35:44 +00:00 by tiagonogueiraa-bit · 3 comments
tiagonogueiraa-bit commented 2026-11-27 17:35:44 +00:00 (Migrated from github.com)
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by tiagonogueiraa-bit on 2026-11-27T17:35:44Z.


docs/native-host.md, "Computed compute buffers", says: "Only translation is tested (a hand-assembled shader in gfx_refusal_tests.rs); no value test runs it on a GPU." The ROADMAP lists turning such findings into tests as a good first contribution. Plan: a victory-gpu test that goes through the host's own translation of an FSPX container with root constants. It builds a raw descriptor around the root-constant address, loads per lane on Metal, and checks the values and the bounds-mode-3 limit.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:6651662090 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/421). Originally posted by [tiagonogueiraa-bit](https://github.com/tiagonogueiraa-bit) on 2026-11-27T17:35:44Z. --- `docs/native-host.md`, "Computed compute buffers", says: "Only translation is tested (a hand-assembled shader in `gfx_refusal_tests.rs`); no value test runs it on a GPU." The ROADMAP lists turning such findings into tests as a good first contribution. Plan: a `victory-gpu` test that goes through the host's own translation of an FSPX container with root constants. It builds a raw descriptor around the root-constant address, loads per lane on Metal, and checks the values and the bounds-mode-3 limit.
tiagonogueiraa-bit commented 2026-11-27 17:35:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by tiagonogueiraa-bit on 2026-11-27T17:35:46Z.


/claim

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7224580153 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/421#issuecomment-7224580153). Originally posted by [tiagonogueiraa-bit](https://github.com/tiagonogueiraa-bit) on 2026-11-27T17:35:46Z. --- /claim
github-actions[bot] commented 2026-11-27 17:35:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T17:35:57Z.


Claimed by @tiagonogueiraa-bit. Open a draft pull request with Refs #421 in its description within 24 hours, or the claim expires.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7224583310 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/421#issuecomment-7224583310). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-27T17:35:57Z. --- Claimed by @tiagonogueiraa-bit. Open a draft pull request with `Refs #421` in its description within 24 hours, or the claim expires.
github-actions[bot] commented 2026-11-28 18:59:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-28T18:59:11Z.


The claim by @tiagonogueiraa-bit has expired: no pull request referenced it within 24 hours. This issue is free to claim.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7244202091 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/421#issuecomment-7244202091). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T18:59:11Z. --- The claim by @tiagonogueiraa-bit has expired: no pull request referenced it within 24 hours. This issue is free to claim.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
LakshanSivakumar/Native-Victory-macOS#421
No description provided.