vk_texture_test: tag index 1 as bound in both sampled arrays it fills (TEST-TEXTURE-ARRAY-KIND, carries #2169) #2177

Merged
aslan2142 merged 1 commit from upstream-pr/2177 into main 2026-11-26 02:26:58 +00:00
aslan2142 commented 2026-11-26 02:25:42 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-11-26T02:25:42Z.


Claimed in the coordination issue as: TEST-TEXTURE-ARRAY-KIND (Tauwni's claim; this PR carries #2169)

What and why

Tauwni's fix from #2169, carried here unchanged; the commit keeps Tauwni as its author. #2169 is a draft only because its author is at the open-PR limit, and a draft can't be merged.

Since #2098, a tagged module reads its instruction's array only when the descriptor entry's kind names it. vk_texture_test tagged index 1 with one sampled kind, so the 2D-array and cube operations of ps_array_resinfo and ps_get_lod_array got the 1x1 fallback and failed on every driver. Index 1 now carries both sampled kinds.

Tested

  • Tauwni's run (#2169): run_gpu_tests.py --filter ps_ on an Apple M3 with MoltenVK 1.4.2, KosmicKrisp and llvmpipe (Mesa 26.3.1): ps_array_resinfo and ps_get_lod_array pass on all three; ctest 106/106.
  • Ours: under Wine on the gfx1036 iGPU (RADV), vk_texture_cube_alpha passes with this on main.

GPUs tested: Apple M3 (MoltenVK 1.4.2, KosmicKrisp), llvmpipe (Mesa 26.3.1); AMD gfx1036 iGPU (RADV) under Wine

AI-assisted: yes (Claude Code, Claude Opus 5.5)

Checklist

  • Based on current main and merges cleanly.
  • One topic.
  • No game data, keys or decryption.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5502878396 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/2177). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-11-26T02:25:42Z. --- Claimed in the coordination issue as: TEST-TEXTURE-ARRAY-KIND (Tauwni's claim; this PR carries #2169) ### What and why Tauwni's fix from #2169, carried here unchanged; the commit keeps Tauwni as its author. #2169 is a draft only because its author is at the open-PR limit, and a draft can't be merged. Since #2098, a tagged module reads its instruction's array only when the descriptor entry's kind names it. `vk_texture_test` tagged index 1 with one sampled kind, so the 2D-array and cube operations of `ps_array_resinfo` and `ps_get_lod_array` got the 1x1 fallback and failed on every driver. Index 1 now carries both sampled kinds. ### Tested - **Tauwni's run (#2169):** `run_gpu_tests.py --filter ps_` on an Apple M3 with MoltenVK 1.4.2, KosmicKrisp and llvmpipe (Mesa 26.3.1): `ps_array_resinfo` and `ps_get_lod_array` pass on all three; ctest 106/106. - **Ours:** under Wine on the gfx1036 iGPU (RADV), `vk_texture_cube_alpha` passes with this on `main`. GPUs tested: Apple M3 (MoltenVK 1.4.2, KosmicKrisp), llvmpipe (Mesa 26.3.1); AMD gfx1036 iGPU (RADV) under Wine AI-assisted: yes (Claude Code, Claude Opus 5.5) ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic. - [x] No game data, keys or decryption.
aslan2142 commented 2026-11-26 02:27:01 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-11-26T02:27:01Z.


Merged. This is Tauwni's fix from #2169, carried unchanged (the commit keeps Tauwni as its author), since #2169 is a draft only because of the open-PR limit.

  • What it fixes: since #2098 a tagged module reads its instruction's array only when the entry's kind names it, so index 1 now carries both sampled kinds and ps_array_resinfo and ps_get_lod_array read the cube views again instead of the 1x1 fallback.
  • Tested: Tauwni's run_gpu_tests.py --filter ps_ on an Apple M3 (MoltenVK, KosmicKrisp, llvmpipe) passes both cases, and ctest 106/106; vk_texture_cube_alpha passes under Wine on the gfx1036 iGPU (RADV) with this on main.
  • Checked on main 3abb99cad + 50afd24e9: it merges cleanly; the semantic suite passes (496 files, 6,336 tests, 0 files failed); the 15 docs and writer tests pass; check_no_game_data.py is clean on the 1 changed files.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7180814929 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/2177#issuecomment-7180814929). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-11-26T02:27:01Z. --- Merged. This is Tauwni's fix from #2169, carried unchanged (the commit keeps Tauwni as its author), since #2169 is a draft only because of the open-PR limit. - **What it fixes:** since #2098 a tagged module reads its instruction's array only when the entry's kind names it, so index 1 now carries both sampled kinds and `ps_array_resinfo` and `ps_get_lod_array` read the cube views again instead of the 1x1 fallback. - **Tested:** Tauwni's `run_gpu_tests.py --filter ps_` on an Apple M3 (MoltenVK, KosmicKrisp, llvmpipe) passes both cases, and ctest 106/106; `vk_texture_cube_alpha` passes under Wine on the gfx1036 iGPU (RADV) with this on `main`. - **Checked on `main` `3abb99cad` + `50afd24e9`:** it merges cleanly; the semantic suite passes (496 files, 6,336 tests, 0 files failed); the 15 docs and writer tests pass; `check_no_game_data.py` is clean on the 1 changed files. AI-assisted (Claude Code, Claude Opus 5.5).
Sign in to join this conversation.
No reviewers
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
ProjectLeonida/mandy!2177
No description provided.