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

Closed
opened 2026-11-26 21:20:19 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/2177
Author: @aslan2142
Created: 11/26/2026
Status: ✅ Merged
Merged: 11/26/2026
Merged by: @aslan2142

Base: main ← Head: carry-2169-texture-array-kind


📝 Commits (1)

  • 50afd24 vk_texture_test: tag index 1 as bound in both sampled arrays it fills (2D and 2D array)

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 runtime/test/vk_texture_test.cpp (+4 -1)

📄 Description

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.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/2177 **Author:** [@aslan2142](https://github.com/aslan2142) **Created:** 11/26/2026 **Status:** ✅ Merged **Merged:** 11/26/2026 **Merged by:** [@aslan2142](https://github.com/aslan2142) **Base:** `main` ← **Head:** `carry-2169-texture-array-kind` --- ### 📝 Commits (1) - [`50afd24`](https://github.com/ubiquitarianism/leonida/commit/50afd24e944b6e4ffe157ac9f4617656075ae739) vk_texture_test: tag index 1 as bound in both sampled arrays it fills (2D and 2D array) ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/vk_texture_test.cpp` (+4 -1) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 21:20:19 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#2182
No description provided.