Mesa (main): panfrost: Increase the limit for blend shader variants

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri May 20 23:34:06 UTC 2022


Module: Mesa
Branch: main
Commit: f1f39fa645c59617546522d99f8bd85e70b5655e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f1f39fa645c59617546522d99f8bd85e70b5655e

Author: Icecream95 <ixn at disroot.org>
Date:   Thu May  5 13:04:37 2022 +1200

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>

---

 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;



More information about the mesa-commit mailing list