Mesa (master): pan/mdg: Bump compiler RT maximum

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 15 22:34:42 UTC 2020


Module: Mesa
Branch: master
Commit: 59308a3a6480a0b7c9fa9d5effaa23ea4b634477
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=59308a3a6480a0b7c9fa9d5effaa23ea4b634477

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Jul 10 15:56:17 2020 -0400

pan/mdg: Bump compiler RT maximum

We don't actually support MRT 8x yet but we would like to soon, so bump
it in the compiler.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5929>

---

 src/panfrost/midgard/compiler.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h
index 101eb32af65..5871c1cf967 100644
--- a/src/panfrost/midgard/compiler.h
+++ b/src/panfrost/midgard/compiler.h
@@ -225,10 +225,14 @@ typedef struct midgard_bundle {
 } midgard_bundle;
 
 enum midgard_rt_id {
-        MIDGARD_COLOR_RT0,
+        MIDGARD_COLOR_RT0 = 0,
         MIDGARD_COLOR_RT1,
         MIDGARD_COLOR_RT2,
         MIDGARD_COLOR_RT3,
+        MIDGARD_COLOR_RT4,
+        MIDGARD_COLOR_RT5,
+        MIDGARD_COLOR_RT6,
+        MIDGARD_COLOR_RT7,
         MIDGARD_ZS_RT,
         MIDGARD_NUM_RTS,
 };



More information about the mesa-commit mailing list