agx: Add AGX_MESA_DEBUG=noopt option

To disable the optimizer. Trying to root cause a Neverball bug, this
gives one less thing to worry.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17198>
This commit is contained in:
Alyssa Rosenzweig
2022-08-02 20:59:21 -04:00
parent f3877f56ba
commit 24c3084411
2 changed files with 9 additions and 5 deletions

View File

@@ -45,6 +45,7 @@ enum agx_dbg {
AGX_DBG_VERBOSE = BITFIELD_BIT(3),
AGX_DBG_INTERNAL = BITFIELD_BIT(4),
AGX_DBG_NOVALIDATE = BITFIELD_BIT(5),
AGX_DBG_NOOPT = BITFIELD_BIT(6),
};
extern int agx_debug;