Skip to content

tests: skip hardware-only GPU tests on the runner's software adapter - #5

Merged
T-Crypt merged 1 commit into
bathyal/nextfrom
bathyal/next-ci-fix
Nov 23, 2026
Merged

T-Crypt merged 1 commit into
bathyal/nextfrom
bathyal/next-ci-fix

Conversation

@T-Crypt

@T-Crypt T-Crypt commented Nov 23, 2026

Copy link
Copy Markdown
Owner

PR #4's Windows job fails on four GPU tests that need a real device. The runner has no GPU: DXGI offers the Microsoft Basic Render Driver, which is not flagged as software and reports D3D12 with mesh shader tier 1, so these tests ran and then failed:

  • gpu::recomp::aperture_tests::gpu_raw_window_view_reaches_its_top and gpu_aperture_probe_where_it_wraps: CreateReservedResource for 4 GiB returns E_OUTOFMEMORY (0x8007000E).
  • hle::d3d12x::two_pass_tests::gpu_console_gs_pipeline_draws_through_draw_instanced and gpu_console_mesh_pipeline_draws_through_dispatch_mesh: the driver rejects the translated rect-list GS and mesh pipelines with E_INVALIDARG (0x80070057).

Fix: recognize software adapters (adapter::software: DXGI software flag or vendor 0x1414 / device 0x008C) and skip these tests on one, with the existing SKIPPED <test>: no GPU note that scripts/test.ps1 counts. XCL_REQUIRE_GPU still turns the skip into a failure, and the tests run unchanged on a real GPU. No test is disabled and no test data is involved.

Checked: the adapter predicate has a unit test; the rest is checked by this PR's CI run.

The Windows runner has no GPU: DXGI offers the Microsoft Basic Render
Driver, which DXGI does not flag as software and which reports D3D12 with
mesh shader tier 1. Four tests that need a real device failed on it: two
aperture tests (4 GiB reserved resources: E_OUTOFMEMORY from
CreateReservedResource) and two two-pass pipeline tests (the driver
rejects the translated rect-list GS and mesh pipelines with
E_INVALIDARG).

Recognize the Basic Render Driver by its vendor and device id (0x1414 /
0x008C) and by the DXGI software flag, and skip those tests with the
existing SKIPPED <test>: no GPU note, which scripts/test.ps1 counts and
XCL_REQUIRE_GPU still turns into a failure.
@T-Crypt
T-Crypt merged commit d983901 into bathyal/next Nov 23, 2026
1 check passed
@T-Crypt
T-Crypt deleted the bathyal/next-ci-fix branch November 23, 2026 22:32
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.

1 participant