shader: lower image descriptor dwords 5–7 fields the host can answer (next-000367 top refusal) #641

Open
opened 2026-11-28 21:28:12 +00:00 by jamal-fv · 3 comments
jamal-fv commented 2026-11-28 21:28:12 +00:00 (Migrated from github.com)
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by jamal-fv on 2026-11-28T21:28:12Z.


Refs #4, related to #540.

Evidence (live run)

next-000367 (arm64 host): 256 unique refused-shader lines. Top reasons by unique hash:

n reason
60 a lane mask holding lanes elsewhere read as data: a program input
55 a descriptor's address or format read as data: an image's dwords 5 to 7
45 a lane-mask join of an untracked mask: data, at a join of several edges
22 a descriptor's address or format read as data: a buffer's dword 1 (…)

Aggregated by prefix, "a descriptor's address or format read as data" is the most frequent (87).

Plan

#540 already describes this shape (200 corpus containers / ~85 dropped passes per world frame) and is claimed by @Olima34 with no PR yet. If that claim is free or released, this issue takes the same fix:

  • In Lower::descriptor_data, rebuild the image-descriptor fields of dwords 5–7 that getDimensions (and the host view) can answer; keep a precise refusal for metadata/compression bits the host cannot.
  • Unit test + by-output corpus sweep; 0 regressions.
  • One class per commit.

Corpus: own dump outside the repo (VICTORY_DUMP_REFUSED=…); sweeps quote counts/hashes/messages only.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:6671343748 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/641). Originally posted by [jamal-fv](https://github.com/jamal-fv) on 2026-11-28T21:28:12Z. --- Refs #4, related to #540. ## Evidence (live run) `next-000367` (arm64 host): 256 unique refused-shader lines. Top reasons by unique hash: | n | reason | |--:|---| | 60 | a lane mask holding lanes elsewhere read as data: a program input | | 55 | a descriptor's address or format read as data: an image's dwords 5 to 7 | | 45 | a lane-mask join of an untracked mask: data, at a join of several edges | | 22 | a descriptor's address or format read as data: a buffer's dword 1 (…) | Aggregated by prefix, "a descriptor's address or format read as data" is the most frequent (87). ## Plan #540 already describes this shape (200 corpus containers / ~85 dropped passes per world frame) and is claimed by @Olima34 with no PR yet. If that claim is free or released, this issue takes the same fix: - In `Lower::descriptor_data`, rebuild the image-descriptor fields of dwords 5–7 that `getDimensions` (and the host view) can answer; keep a precise refusal for metadata/compression bits the host cannot. - Unit test + by-output corpus sweep; 0 regressions. - One class per commit. Corpus: own dump outside the repo (`VICTORY_DUMP_REFUSED=…`); sweeps quote counts/hashes/messages only.
jamal-fv commented 2026-11-28 21:28:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by jamal-fv on 2026-11-28T21:28:26Z.


/claim
Taking the next-000367 top-refusal restoration on this issue. Related to #540 (image dwords 5–7); will not duplicate if @Olima34 has a PR in flight — otherwise this issue covers that class first (one reason per commit), then the next free class from the census.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7246043683 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/641#issuecomment-7246043683). Originally posted by [jamal-fv](https://github.com/jamal-fv) on 2026-11-28T21:28:26Z. --- /claim Taking the next-000367 top-refusal restoration on this issue. Related to #540 (image dwords 5–7); will not duplicate if @Olima34 has a PR in flight — otherwise this issue covers that class first (one reason per commit), then the next free class from the census.
github-actions[bot] commented 2026-11-28 21:28:37 +00:00 (Migrated from github.com)
Author
Contributor

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


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

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7246045873 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/641#issuecomment-7246045873). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T21:28:37Z. --- Claimed by @jamal-fv. Open a draft pull request with `Refs #641` in its description within 24 hours, or the claim expires.
jamal-fv commented 2026-11-28 21:51:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by jamal-fv on 2026-11-28T21:51:27Z.


Draft PR up with the dword-5 rebuild; corpus A/B in reports/shader-refusals.md (+3 newly translated, 0 regressions).

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7246323817 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/641#issuecomment-7246323817). Originally posted by [jamal-fv](https://github.com/jamal-fv) on 2026-11-28T21:51:27Z. --- Draft PR up with the dword-5 rebuild; corpus A/B in `reports/shader-refusals.md` (+3 newly translated, 0 regressions).
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#641
No description provided.