Mesa (main): agx: Add AUTO_LOD_BIAS mode

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Feb 6 15:10:33 UTC 2022


Module: Mesa
Branch: main
Commit: d5b7d629d756e779ab8659df48f588443e68b930
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5b7d629d756e779ab8659df48f588443e68b930

Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date:   Tue Jan 18 09:47:44 2022 -0500

agx: Add AUTO_LOD_BIAS mode

Automatic load with a bias.

Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14899>

---

 src/asahi/compiler/agx_compiler.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/asahi/compiler/agx_compiler.h b/src/asahi/compiler/agx_compiler.h
index 1da1668878d..abe39b6d761 100644
--- a/src/asahi/compiler/agx_compiler.h
+++ b/src/asahi/compiler/agx_compiler.h
@@ -246,6 +246,7 @@ enum agx_convert {
 
 enum agx_lod_mode {
    AGX_LOD_MODE_AUTO_LOD = 0,
+   AGX_LOD_MODE_AUTO_LOD_BIAS = 5,
    AGX_LOD_MODE_LOD_MIN = 6,
    AGX_LOD_GRAD = 8,
    AGX_LOD_GRAD_MIN = 12



More information about the mesa-commit mailing list