freedreno/ir3: array rework
[mesa.git] / src / gallium / drivers / vc4 / vc4_qpu.h
index 866ca5c1300256e28286ff0f3941474ed1f6d5dc..7c4ff1701ca2c7906b3df10c7f091f243a6dfcda 100644 (file)
@@ -116,6 +116,17 @@ qpu_tlbc()
         return r;
 }
 
+static inline struct qpu_reg
+qpu_tlbc_ms()
+{
+        struct qpu_reg r = {
+                QPU_MUX_A,
+                QPU_W_TLB_COLOR_MS,
+        };
+
+        return r;
+}
+
 static inline struct qpu_reg qpu_r0(void) { return qpu_rn(0); }
 static inline struct qpu_reg qpu_r1(void) { return qpu_rn(1); }
 static inline struct qpu_reg qpu_r2(void) { return qpu_rn(2); }