[Fix, Test] (MG_Backend/DirectGLES, MG_Util, CI): keep an explicit LOD constant under a new avoid flag - folding the bias uniform into it kills the ANGLE llvmpipe JIT

This commit is contained in:
2026-08-12 01:42:55 -04:00
parent b5e9339c66
commit 205d837942
16 changed files with 72 additions and 5 deletions
+4 -1
View File
@@ -275,7 +275,10 @@ default; pass `--ez use_pbuffer true` to use the offscreen pbuffer path. Always
process-local. For cases registered with `coherent_as_flush` (Flywheel-style
unflushed persistent maps, e.g. the Create fixtures), pass
`--ez coherent_as_flush true` so the replay runs with
`MOBILEGL_COHERENT_AS_FLUSH=1`.
`MOBILEGL_COHERENT_AS_FLUSH=1`. For cases registered with
`avoid_angle_llvmpipe_explicit_lod_bias` (DirectGLES on ANGLE llvmpipe, e.g. the
sundial-lite fixture), pass `--ez avoid_angle_llvmpipe_explicit_lod_bias true` so
the replay runs with `MOBILEGL_AVOID_EXPLICIT_LOD_BIAS=1`.
## Reproducing the Android DirectGLES lane on Linux (ANGLE on lavapipe)
@@ -184,6 +184,8 @@ def run_case(case, backend):
command.append("--use-pbuffer")
if backend_info["use_angle"] and case["name"] == BLISS_CASE:
command.append("--avoid-angle-llvmpipe-sampler-mipmap-min-filter")
if backend_info["use_angle"] and case.get("avoid_angle_llvmpipe_explicit_lod_bias"):
command.append("--avoid-angle-llvmpipe-explicit-lod-bias")
if case.get("coherent_as_flush"):
command.append("--coherent-as-flush")
env = dict(**__import__("os").environ)
+2 -1
View File
@@ -181,7 +181,8 @@
"name": "minecraft-1.21.4-fabric-iris-sundial-lite-in-world",
"trace_archive": "minecraft-1.21.4-fabric-iris-sundial-lite-in-world.tgz",
"golden": "minecraft-1.21.4-fabric-iris-sundial-lite-in-world.0000150023.png",
"target_call": 150023
"target_call": 150023,
"avoid_angle_llvmpipe_explicit_lod_bias": true
},
{
"name": "minecraft-1.21.4-fabric-iris-complementary-reimagined-in-world",