anti-lag: Do not enable layer by default.

There are too many reports of instability in the wild,
even in scenarios where anti-lag isn't really being actively used,
making it questionable to load the layer by default.

By using enable_environment, a certain environment variable
must be set for loader to consider loading the layer.
This could be removed once the layer stabilizes.

Cc: mesa-stable

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37509>
This commit is contained in:
Hans-Kristian Arntzen 2025-09-22 14:01:09 +02:00 committed by Marge Bot
parent b7129a2085
commit 59278c2236

View file

@ -21,6 +21,9 @@
],
"disable_environment": {
"DISABLE_LAYER_MESA_ANTI_LAG": "1"
},
"enable_environment": {
"ENABLE_LAYER_MESA_ANTI_LAG": "1"
}
}
}