From 1e945e761502aa51d9941f38610c57156830ac17 Mon Sep 17 00:00:00 2001 From: Dean Galvin Date: Sun, 4 Oct 2026 06:08:37 +1300 Subject: [PATCH] ci: run lavapipe at the AVX level on every Linux runner agc_driver_vopc_compare failed on every Linux runner with an AVX512-FP16 Xeon (Sapphire, Emerald and Granite Rapids) and passed on AMD EPYC and Ice Lake runners. Ubuntu 24.04's lavapipe compiles with LLVM 20.1.2, which on these CPUs merges a masked fcmp ult/uge on half vectors with the same compare of swapped operands, so v_cmp_nle_f16, v_cmp_nlt_f16 and v_cmpx_nle_f16 return the result of their mirror. The recompiler's SPIR-V is the same on every device and correct. GALLIUM_OVERRIDE_CPU_CAPS=avx keeps LLVM off AVX-512, so every runner compiles the tests the same way. --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61d1000f5..f05a2e7bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,6 +40,7 @@ jobs: - run: ctest --test-dir build --output-on-failure --timeout 120 --repeat until-fail:3 env: ANYPS5_REQUIRE_VULKAN: 1 + GALLIUM_OVERRIDE_CPU_CAPS: avx windows: runs-on: windows-latest