Repository navigation
Conversation
…s, and fails on a compare mismatch 9f98dcc put the mirror/alias and 3D-T#-read-by-a-2D-op checks before the atomic_mode block, so ps_imgatomic drew them with its own shader: every compare() missed (the target holds 1.0/0.25, not orange or zeros), the mismatches went to stderr, and the atomic return ignored them. The runner showed the first mismatch line as a PASS detail. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Verified on main a73a57e with Mesa llvmpipe (Mesa 25.2.8, LLVM 20.1.2, 256 bits, Ubuntu 24.04 x86-64, no GPU), GCC 13, Ninja, llvm-mc 21.1.8. Merges cleanly.
AI-assisted: yes (Claude Code) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
vk_bindless_testruns two shaders:ps_texandps_imgatomic. Commit 9f98dcc added 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