Mesa (staging/19.0): ac: fix a typo in ac_build_wg_scan_bottom

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 5 19:06:29 UTC 2019


Module: Mesa
Branch: staging/19.0
Commit: f678b855a386961f3bd75a2a225233fa8b97d81f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f678b855a386961f3bd75a2a225233fa8b97d81f

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed May 22 18:23:27 2019 -0400

ac: fix a typo in ac_build_wg_scan_bottom

Cc: 19.1 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
(cherry picked from commit c9b64b58dee89ac78d38358f7ebd75cf0d6b86dd)

---

 src/amd/common/ac_llvm_build.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c
index 3d7eb7b0421..9ad279241ad 100644
--- a/src/amd/common/ac_llvm_build.c
+++ b/src/amd/common/ac_llvm_build.c
@@ -3455,7 +3455,7 @@ ac_build_wg_scan_bottom(struct ac_llvm_context *ctx, struct ac_wg_scan *ws)
 
 	/* ws->result_reduce is already the correct value */
 	if (ws->enable_inclusive)
-		ws->result_inclusive = ac_build_alu_op(ctx, ws->result_exclusive, ws->src, ws->op);
+		ws->result_inclusive = ac_build_alu_op(ctx, ws->result_inclusive, ws->src, ws->op);
 	if (ws->enable_exclusive)
 		ws->result_exclusive = ac_build_alu_op(ctx, ws->result_exclusive, ws->extra, ws->op);
 }




More information about the mesa-commit mailing list