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:
Asahi Lina
2022-12-09 18:08:04 +09:00
committed by Marge Bot
parent 440601dead
commit b80fb31678
+2 -1
View File
@@ -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 {