asahi: Allocate enough push ranges for the worst possible case
We need one for every possible sysval, plus up to 16 VBOs. Fixes plasma-systemmonitor. Signed-off-by: Asahi Lina <lina@asahilina.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20365>
This commit is contained in:
@@ -82,8 +82,9 @@ struct agx_push {
|
||||
};
|
||||
};
|
||||
|
||||
/* All possible push types except VBO, plus up to 16 VBOs */
|
||||
#define AGX_MAX_PUSH_RANGES (AGX_PUSH_NUM_TYPES - 1 + 16)
|
||||
/* Arbitrary */
|
||||
#define AGX_MAX_PUSH_RANGES (16)
|
||||
#define AGX_MAX_VARYINGS (32)
|
||||
|
||||
struct agx_varyings_vs {
|
||||
|
||||
Reference in New Issue
Block a user