mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:00:52 +01:00
[PR #2211] vk_bindless_test: ps_imgatomic no longer runs (and ignores) the ps_tex mirror and 3D T# checks #2214
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2214
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2211
Author: @Tauwni
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:fix/bindless-atomic-skips-tex-checks📝 Commits (1)
04a9f3avk_bindless_test: ps_imgatomic skips the ps_tex mirror and 3D T# draws, and fails on a compare mismatch📊 Changes
1 file changed (+4 additions, -3 deletions)
View changed files
📝
runtime/test/vk_bindless_test.cpp(+4 -3)📄 Description
vk_bindless_testruns two shaders:ps_texandps_imgatomic. Commit9f98dcc61added two blocks of checks before theif (atomic_mode)block: the mirror/alias draws and the "a 3D T# read by a 2D op" draw. Those checks are written forps_tex, since they expect its texels (orange, zeros) in the render target.With
ps_imgatomicthey still run, using the atomic shader. Everycompare()misses, because that target holds 1.0 or the 0.25 clear. The mismatches go to stderr, and the atomic path'sreturn wrong || bad_rt ? 1 : 0;never looks atmismatches.run_gpu_tests.pythen shows the first stderr line as the PASS detail. Seen onmaina73a57e13(Apple M3, MoltenVK 1.4.2):The change:
!atomic_mode.ps_texstill runs them unchanged.mismatches, so aps_texcheck misplaced ahead of it in the future fails instead of passing quietly.After the change, on an Apple M3 (macOS 26.5.1), through
scripts/run_gpu_tests.py --filter ps_tex/--filter ps_imgatomic:ps_texps_imgatomicThese were not run under the validation layer: on a Mac it needs the loader portability opt-in from #2178. The change is test-only and adds no Vulkan call.
AI-assisted (Claude Code). No game data.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.