commit | f1f39fa645c59617546522d99f8bd85e70b5655e | [log] [tgz] |
---|---|---|
author | Icecream95 <ixn@disroot.org> | Thu May 05 13:04:37 2022 +1200 |
committer | Marge Bot <emma+marge@anholt.net> | Fri May 20 23:17:07 2022 +0000 |
tree | bb262d83616f004a2b4ac1727e2faf20111fad9e | |
parent | 80404c8b640bdc24274b67561842ebf684e741f5 [diff] |
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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16343>
diff --git a/src/panfrost/lib/pan_blend.h b/src/panfrost/lib/pan_blend.h index f2ec304..2dec952 100644 --- a/src/panfrost/lib/pan_blend.h +++ b/src/panfrost/lib/pan_blend.h
@@ -90,7 +90,7 @@ 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;