mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 13:48:30 +09:00
[Fix] (Retrace): load ANGLE through LD_LIBRARY_PATH
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user