agx: add limit for max sources per non-phi
used to bound stack allocations. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28483>
This commit is contained in:
committed by
Marge Bot
parent
3684c9ebbd
commit
afdcee6a0a
@@ -28,6 +28,9 @@ extern "C" {
|
||||
/* Semi-arbitrary limit for spill slot allocation */
|
||||
#define AGX_NUM_MODELED_REGS (2048)
|
||||
|
||||
/* Limit on number of sources for non-phi instructions */
|
||||
#define AGX_MAX_NORMAL_SOURCES (16)
|
||||
|
||||
enum agx_index_type {
|
||||
AGX_INDEX_NULL = 0,
|
||||
AGX_INDEX_NORMAL = 1,
|
||||
|
||||
Reference in New Issue
Block a user