From: Jordan Justen Date: Tue, 19 Sep 2023 18:09:09 +0000 (-0700) Subject: intel/compiler: Update opt_split_sends() for Xe2 reg size X-Git-Tag: upstream/23.3.3~1781 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9846dd798b939e72517744c674bcf8cfa0e127b5;p=platform%2Fupstream%2Fmesa.git intel/compiler: Update opt_split_sends() for Xe2 reg size Signed-off-by: Jordan Justen Reviewed-by: Caio Oliveira Reviewed-by: Francisco Jerez Part-of: --- diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index a84df81..0e7960f 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -3167,7 +3167,7 @@ fs_visitor::opt_split_sends() next_ip++; if (send->opcode != SHADER_OPCODE_SEND || - send->mlen == 1 || send->ex_mlen > 0) + send->mlen <= reg_unit(devinfo) || send->ex_mlen > 0) continue; /* Don't split payloads which are also read later. */