Skip to content

Tests: hardware-only shader checks skip on a machine without a GPU - #1911

Merged
Marvisak merged 1 commit into
mainfrom
fix/tests-without-gpu
Nov 25, 2026
Merged

Marvisak merged 1 commit into
mainfrom
fix/tests-without-gpu

Conversation

@Marvisak

Copy link
Copy Markdown
Owner

GitHub's Windows runner has no GPU, so the default adapter the shader tests call "hardware" was WARP. The gather test then ran its hardware-only rounding check on WARP, and the permute test (a wave of 32, which WARP refuses) ran on no device; both failed every CI run.

The test host now refuses a software default adapter, and the permute test skips when only WARP is there (a refused pipeline on hardware is an error).

GitHub's Windows runner has no GPU, so the default adapter the shader
tests call "hardware" was WARP. The gather test then ran its
hardware-only rounding check on WARP, and the permute test (a wave of
32, which WARP refuses) ran on no device; both failed every CI run.

The test host now refuses a software default adapter, and the permute
test skips when only WARP is there (a refused pipeline on hardware is
an error).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Marvisak
Marvisak merged commit 42363ab into main Nov 25, 2026
1 check failed

@catminou4 catminou4 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge conflict with current main (940d32f) — git merge origin/main fails on the PR head; a rebase is needed before this can land. Tests: hardware-only shader checks skip on a machine without a GPU looks like the right direction; I will re-test after the author rebases. (Note: #1911/#1919/#1925 are the same GPU-skip test cluster — whichever lands second will need to reconcile.)

alexdeliu added a commit to alexdeliu/VIctory that referenced this pull request Nov 25, 2026
…eir own

The lowering's Parts and HostShader gained view_marks (cd94d35). And as
host.rs's hardware_adapter (Marvisak#1911, Marvisak#1925), an adapter without dedicated
video memory (CI's basic render driver) is not a hardware column.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants