Mesa (main): broadcom/compiler: use correct flag enum

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 12 12:08:29 UTC 2021


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

Author: Thomas H.P. Andersen <phomes at gmail.com>
Date:   Wed Jul  7 16:48:03 2021 +0200

broadcom/compiler: use correct flag enum

They have the same value, so no functional change

Reviewed-by: Iago Torral Quiroga <itoral at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11764>

---

 src/broadcom/compiler/qpu_schedule.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/broadcom/compiler/qpu_schedule.c b/src/broadcom/compiler/qpu_schedule.c
index 1bcff238b3b..70cded47a33 100644
--- a/src/broadcom/compiler/qpu_schedule.c
+++ b/src/broadcom/compiler/qpu_schedule.c
@@ -868,9 +868,9 @@ qpu_convert_add_to_mul(struct v3d_qpu_instr *inst)
         inst->flags.mc = inst->flags.ac;
         inst->flags.mpf = inst->flags.apf;
         inst->flags.muf = inst->flags.auf;
-        inst->flags.ac = V3D_QPU_PF_NONE;
+        inst->flags.ac = V3D_QPU_COND_NONE;
         inst->flags.apf = V3D_QPU_PF_NONE;
-        inst->flags.auf = V3D_QPU_PF_NONE;
+        inst->flags.auf = V3D_QPU_UF_NONE;
 }
 
 static bool



More information about the mesa-commit mailing list