shader: find VkRunner probe failures on stdout in the FP32 check #634

Manually merged
github merged 1 commit from gh-pr/634/head into gh-pr/634/base 2026-11-26 22:07:34 +00:00
Owner

@⁠Ybucaille on GitHub · 2026-11-22 16:54 UTC · original
Ybucaille:tooling/fp32-vulkan-stdout → main · +4 −2 · 1 files · 1 commits · merged 2026-11-22 17:15 UTC

Change

tests/pixel_fp32_vulkan_check.py (#473) requires SSBO probe failed in VkRunner's stderr before it accepts the rounding negative control. Current VkRunner main writes that message to stdout and only the PIGLIT: {"result": "fail" } line to stderr. The negative control therefore fails as intended, but the script still exits with "The rounding negative control did not produce a failing probe". The check now searches the combined output it already prints. The return code test is unchanged, so a run that does not reach the probe still fails the check.

Refs #473

Verification

Tested 0b16ba2 (this change on 14daa49) on x86-64 Linux with Python 3.14.10, DXC 1.10.2605.37, VkRunner c59bea8 (upstream main) and Mesa 26.2.7. The VkRunner revision 3f73c7c3 cited in #473 is not in the upstream repository, so I could not test it.

python -B tests/pixel_fp32_vulkan_check.py "$DXC" "$VKRUNNER" --device 1 --device 2 --device 3
python -B tests/pixel_aot_check.py binary /usr/bin/llvm-mc /usr/bin/llvm-objcopy /usr/lib/libLLVM.so
python -B tests/docs_links_check.py
git diff --check

Devices: Intel UHD Graphics (TGL GT1, Mesa ANV), NVIDIA GeForce RTX 3060 Laptop GPU (driver 620.70.06), llvmpipe (lavapipe).

  • Before: all three devices passed the original helpers. The rounding control failed with line 119: SSBO probe failed on stdout, and the script exited 1 after the first device.
  • After: all three devices passed 46 output-word comparisons and rejected the altered rounding rule at the same probe. Exit code 0, no capability skips.
  • The binary lowering check (LLVM 23.1.5), the docs link check and git diff --check passed.

Evidence and follow-up

A small failing shader_test run directly under VkRunner c59bea8 shows the same split between stdout and stderr. No game files or new fixtures are involved.

AI-assisted.

**@⁠Ybucaille** on GitHub · 2026-11-22 16:54 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/634) `Ybucaille:tooling/fp32-vulkan-stdout` → `main` · +4 −2 · 1 files · 1 commits · merged 2026-11-22 17:15 UTC ## Change `tests/pixel_fp32_vulkan_check.py` (#473) requires `SSBO probe failed` in VkRunner's stderr before it accepts the rounding negative control. Current VkRunner `main` writes that message to stdout and only the `PIGLIT: {"result": "fail" }` line to stderr. The negative control therefore fails as intended, but the script still exits with "The rounding negative control did not produce a failing probe". The check now searches the combined output it already prints. The return code test is unchanged, so a run that does not reach the probe still fails the check. Refs #473 ## Verification Tested `0b16ba2` (this change on `14daa49`) on x86-64 Linux with Python 3.14.10, DXC 1.10.2605.37, VkRunner `c59bea8` (upstream `main`) and Mesa 26.2.7. The VkRunner revision `3f73c7c3` cited in #473 is not in the upstream repository, so I could not test it. ```sh python -B tests/pixel_fp32_vulkan_check.py "$DXC" "$VKRUNNER" --device 1 --device 2 --device 3 python -B tests/pixel_aot_check.py binary /usr/bin/llvm-mc /usr/bin/llvm-objcopy /usr/lib/libLLVM.so python -B tests/docs_links_check.py git diff --check ``` Devices: Intel UHD Graphics (TGL GT1, Mesa ANV), NVIDIA GeForce RTX 3060 Laptop GPU (driver 620.70.06), llvmpipe (lavapipe). - Before: all three devices passed the original helpers. The rounding control failed with `line 119: SSBO probe failed` on stdout, and the script exited 1 after the first device. - After: all three devices passed 46 output-word comparisons and rejected the altered rounding rule at the same probe. Exit code 0, no capability skips. - The binary lowering check (LLVM 23.1.5), the docs link check and `git diff --check` passed. ## Evidence and follow-up A small failing `shader_test` run directly under VkRunner `c59bea8` shows the same split between stdout and stderr. No game files or new fixtures are involved. AI-assisted.
VkRunner main writes 'SSBO probe failed' to stdout and only the PIGLIT
result line to stderr, so the rounding negative control failed as
intended but the check still rejected it. Search the combined output
that the check already prints.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 22:07:32 +00:00
github manually merged commit 0b16ba2c84 into gh-pr/634/base 2026-11-26 22:07:34 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.