[Fix] (Retrace): load ANGLE through LD_LIBRARY_PATH

This commit is contained in:
2026-07-13 21:20:02 -04:00
parent b1f55026af
commit 533219ede7
9 changed files with 34 additions and 37 deletions
@@ -172,9 +172,9 @@ def run_case(case, backend):
env["PYTHON"] = "python"
env["MSYS2_ARG_CONV_EXCL"] = "/data/*"
if backend_info["use_angle"]:
env["MOBILEGL_RETRACE_USE_ANGLE"] = "1"
env["MOBILEGL_USE_ANGLE"] = "1"
else:
env.pop("MOBILEGL_RETRACE_USE_ANGLE", None)
env.pop("MOBILEGL_USE_ANGLE", None)
result = subprocess.run(command, cwd=ROOT, env=env)
copy_goldens(case, backend)
return result.returncode
@@ -375,7 +375,7 @@ device or emulator has a trace package from a different keystore, uninstall
or the install fails with `INSTALL_FAILED_UPDATE_INCOMPATIBLE`.
Match the CI environment (`.github/workflows/apk.yml` matrix): the emulator
boots with `--gpu software` + `MOBILEGL_RETRACE_USE_ANGLE=1` for `DirectGLES`
boots with `--gpu software` + `MOBILEGL_USE_ANGLE=1` for `DirectGLES`
and `--gpu lavapipe` + `MOBILEGL_MAGMA_R11G11B10F_FALLBACK=1` for
`DirectVulkan`. The emulator's ANGLE-on-Vulkan GLES stack exercises genuinely
different driver semantics than physical devices (e.g. indirect-draw