vk_texture_test: tag index 1 as bound in both sampled arrays it fills (TEST-TEXTURE-ARRAY-KIND, carries #2169) #2177
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2177"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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_testtagged index 1 with one sampled kind, so the 2D-array and cube operations ofps_array_resinfoandps_get_lod_arraygot the 1x1 fallback and failed on every driver. Index 1 now carries both sampled kinds.Tested
run_gpu_tests.py --filter ps_on an Apple M3 with MoltenVK 1.4.2, KosmicKrisp and llvmpipe (Mesa 26.3.1):ps_array_resinfoandps_get_lod_arraypass on all three; ctest 106/106.vk_texture_cube_alphapasses with this onmain.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
mainand merges cleanly.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.
ps_array_resinfoandps_get_lod_arrayread the cube views again instead of the 1x1 fallback.run_gpu_tests.py --filter ps_on an Apple M3 (MoltenVK, KosmicKrisp, llvmpipe) passes both cases, and ctest 106/106;vk_texture_cube_alphapasses under Wine on the gfx1036 iGPU (RADV) with this onmain.main3abb99cad+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.pyis clean on the 1 changed files.AI-assisted (Claude Code, Claude Opus 5.5).