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) |
|
Verified on Apple M5 Max (MoltenVK 1.4.2, macOS 27.2.1)
AI-assisted: yes. |
|
Verified on this machine (Windows 11, RTX 4090), and my first pass at this pull request was a false alarm - the test needs two SPIR-V arguments, which my triage loop did not pass. 1. It applies. 2. Run the way Run with no arguments it exits 2 and prints 3. On so there is no negative control here: the change is a guard, not a fix - it skips the What that means for a reviewer: the change makes the test stop reporting failures it should not report for the atomic shader. On this driver those comparisons were already passing ( Written with an AI assistant. |
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
Red checks: from
main, not this changeThe failing jobs (
check,macos-python,stdlib-tests-linux,linux-gpu-tools,macos,windows) fail the same way onmaind48a957bb(MEASURED on macOS for the Python tests, 1 run, with the same assertion text; GPU tests READ from this PR's CI logs). The open pull requests that fix them:maintest_docs_cli_flagstest_make_game_preflight,test_progress_dashboard(repository URL)test_docs_repo_pathsmain, a merge is onTauwni:fix/2552-merge-main, correction)test_tool_stdout_encodingTauwni:fix/stdout-replace-two-new-scripts(no PR, open PR limit)test_windows_boot_journal_seedtest_docs_python_depstest_build_runtime_fallbackvk_bindless_dimensions(macOS)test_docs_env_varstest_make_game_pipelines,test_sampler_source_census,test_spirv_metal_set0_cli_errors,test_spirv_metal_set0_extra,tests/semantic/test_valu_cvt_f16_int16_mods.py,ps_exp_f32_denorm_rt(macOS)Tauwni/leonida, no PR (finding)cs_imgatomic_ext(macOS, linux-gpu-tools)vk_xdxr_postbuild_readback(Windows)main: mergemainNot checked by a second agent or human yet.