From f1f39fa645c59617546522d99f8bd85e70b5655e Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Thu, 5 May 2022 13:04:37 +1200 Subject: [PATCH] panfrost: Increase the limit for blend shader variants Qt uses blend constants to set text colour, this will allow more colours onscreen before thrashing happens. Part-of: --- src/panfrost/lib/pan_blend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/lib/pan_blend.h b/src/panfrost/lib/pan_blend.h index f2ec30404a8..2dec9525c4a 100644 --- a/src/panfrost/lib/pan_blend.h +++ b/src/panfrost/lib/pan_blend.h @@ -90,7 +90,7 @@ struct pan_blend_shader_variant { unsigned work_reg_count; }; -#define PAN_BLEND_SHADER_MAX_VARIANTS 16 +#define PAN_BLEND_SHADER_MAX_VARIANTS 32 struct pan_blend_shader { struct pan_blend_shader_key key;