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

Open
opened 2026-11-28 21:31:48 +00:00 by github-bot · 3 comments
Owner

@⁠jamal-fv on GitHub · 2026-11-28 21:28 UTC · original

Refs #4, related to #544.

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

#544 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** on GitHub · 2026-11-28 21:28 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/641) Refs #4, related to #544. ## 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 #544 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 21:31:48 +00:00
Author
Owner

@⁠jamal-fv on GitHub · 2026-11-28 21:28 UTC · original

/claim
Taking the next-000367 top-refusal restoration on this issue. Related to #544 (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.

**@⁠jamal-fv** on GitHub · 2026-11-28 21:28 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/641#issuecomment-7246043683) /claim Taking the next-000367 top-refusal restoration on this issue. Related to #544 (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.
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 21:28 UTC · original

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

**@⁠github-actions[bot]** on GitHub · 2026-11-28 21:28 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/641#issuecomment-7246045873) Claimed by @⁠jamal-fv. Open a draft pull request with `Refs #641` in its description within 24 hours, or the claim expires.
Author
Owner

@⁠jamal-fv on GitHub · 2026-11-28 21:51 UTC · original

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

**@⁠jamal-fv** on GitHub · 2026-11-28 21:51 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/641#issuecomment-7246323817) Draft PR up with the dword-5 rebuild; corpus A/B in `reports/shader-refusals.md` (+3 newly translated, 0 regressions).
This discussion has been locked. Commenting is limited to contributors.
No description provided.