[PR #1126] check.py: an unsupported texture-constant or partial-wave test is a skip, not a failure (TEST-CHECK-UNSUPPORTED-SKIP) #1161

Open
opened 2026-11-26 20:20:17 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1126
Author: @MalexAson
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: fix/check-unsupported-skips


📝 Commits (1)

  • 2dbceb5 check.py: an unsupported texture-constant or partial-wave test is a skip (TEST-CHECK-UNSUPPORTED-SKIP)

📊 Changes

2 files changed (+108 additions, -2 deletions)

View changed files

📝 runtime/test/shaders/check.py (+8 -2)
➕ tests/test_check_unsupported_skips.py (+100 -0)

📄 Description

Claimed in the coordination issue as: TEST-CHECK-UNSUPPORTED-SKIP

What and why

runtime/test/shaders/check.py turns a test program's exit 77 ("unsupported: ...") into a skip in most checks. Three did not:

  • texture_constant_test (ps_gather_wrap, ps_gather_border, ps_gather4_c_l, ps_array_resinfo) had no UNSUPPORTED case, so vk_texture_test's 77 came out as exit 77: unsupported: ..., a failure.
  • partial_wave_test (cs_w64x_partial, cs_w64x_partial_scmp) returned failure() for any non-zero exit code before asking compute_unsupported().
  • table_fetch_test did return a Skip, but with the program's whole output instead of the usual one-line SKIP (unsupported: ...).

On a device without shaderInt64 (Intel Iris Xe, Windows driver 31.0.101.4255) check.py printed six failures and exited 1, where run_gpu_tests.py skips the same six tests. All three now report SKIP (unsupported: <reason>). In partial_wave_test a 77 that names no reason stays a failure, as compute_unsupported documents.

Tested

  • New tests/test_check_unsupported_skips.py, 9 tests fed the two programs' output from that driver: 9 fail on main, 9 pass with the change.
  • python -I on tests/test_partial_wave_subgroup.py, tests/test_shader_checks.py, tests/test_run_gpu_tests.py and tests/test_text_write_line_endings.py: OK. python -m compileall and scripts/check_no_game_data.py on the two changed files: clean.
  • Not re-run on a GPU without shaderInt64: the driver that showed it has been updated since. With Intel 32.0.101.7092, which reports shaderInt64, check.py exits 0 (170 of 222 pass, 52 skipped, on 3aa975421).

GPUs tested: Intel Iris Xe (8086:a7a0), Windows 11: Intel 31.0.101.4255 (where it was found) and 32.0.101.7092

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (no translator rule)

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1126 **Author:** [@MalexAson](https://github.com/MalexAson) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/check-unsupported-skips` --- ### 📝 Commits (1) - [`2dbceb5`](https://github.com/ubiquitarianism/leonida/commit/2dbceb5168e57bba62921cf86ab536627ade20ce) check.py: an unsupported texture-constant or partial-wave test is a skip (TEST-CHECK-UNSUPPORTED-SKIP) ### 📊 Changes **2 files changed** (+108 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/shaders/check.py` (+8 -2) ➕ `tests/test_check_unsupported_skips.py` (+100 -0) </details> ### 📄 Description Claimed in the coordination issue as: TEST-CHECK-UNSUPPORTED-SKIP ### What and why `runtime/test/shaders/check.py` turns a test program's exit 77 ("unsupported: ...") into a skip in most checks. Three did not: - `texture_constant_test` (`ps_gather_wrap`, `ps_gather_border`, `ps_gather4_c_l`, `ps_array_resinfo`) had no `UNSUPPORTED` case, so `vk_texture_test`'s 77 came out as `exit 77: unsupported: ...`, a failure. - `partial_wave_test` (`cs_w64x_partial`, `cs_w64x_partial_scmp`) returned `failure()` for any non-zero exit code before asking `compute_unsupported()`. - `table_fetch_test` did return a `Skip`, but with the program's whole output instead of the usual one-line `SKIP (unsupported: ...)`. On a device without `shaderInt64` (Intel Iris Xe, Windows driver 31.0.101.4255) `check.py` printed six failures and exited 1, where `run_gpu_tests.py` skips the same six tests. All three now report `SKIP (unsupported: <reason>)`. In `partial_wave_test` a 77 that names no reason stays a failure, as `compute_unsupported` documents. ### Tested - New `tests/test_check_unsupported_skips.py`, 9 tests fed the two programs' output from that driver: 9 fail on `main`, 9 pass with the change. - `python -I` on `tests/test_partial_wave_subgroup.py`, `tests/test_shader_checks.py`, `tests/test_run_gpu_tests.py` and `tests/test_text_write_line_endings.py`: OK. `python -m compileall` and `scripts/check_no_game_data.py` on the two changed files: clean. - Not re-run on a GPU without `shaderInt64`: the driver that showed it has been updated since. With Intel 32.0.101.7092, which reports `shaderInt64`, `check.py` exits 0 (170 of 222 pass, 52 skipped, on `3aa975421`). GPUs tested: Intel Iris Xe (8086:a7a0), Windows 11: Intel 31.0.101.4255 (where it was found) and 32.0.101.7092 AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (no translator rule) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1161
No description provided.