[Mesa-dev] possibly incorrect cut-n-paste in ac_llvm_build.c

Dave Airlie airlied at gmail.com
Fri May 17 02:02:21 UTC 2019


mesa-19.1.0-rc2/src/amd/common/ac_llvm_build.c:4019: copy_paste_error:
"result_exclusive" in "ws->result_exclusive" looks like a copy-paste
error.

+       if (ws->enable_inclusive)
+               ws->result_inclusive = ac_build_alu_op(ctx,
ws->result_exclusive, ws->src, ws->op);
+       if (ws->enable_exclusive)
+               ws->result_exclusive = ac_build_alu_op(ctx,
ws->result_exclusive, ws->extra, ws->op);

Is that right? maybe a comment?

Dave.


More information about the mesa-dev mailing list