From f46aa1b9d7c5c89fa1059c04b9a5e62f177177a2 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 12 May 2021 11:24:12 +0300 Subject: [PATCH] intel/fs: use the final destination type for regioning restrictions This is most likely a rebase mistake :( Fixes: f3e5cd813ae6a8 ("intel/fs: Handle regioning restrictions of split FP/DP pipelines.") Ref: aa53665fda6348 ("intel/fs/copy_prop: check stride constraints with actual final type") Signed-off-by: Lionel Landwerlin Reviewed-by: Jordan Justen Part-of: --- src/intel/compiler/brw_ir_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_ir_fs.h b/src/intel/compiler/brw_ir_fs.h index 6496957..214b076 100644 --- a/src/intel/compiler/brw_ir_fs.h +++ b/src/intel/compiler/brw_ir_fs.h @@ -573,7 +573,7 @@ has_dst_aligned_region_restriction(const intel_device_info *devinfo, return devinfo->is_cherryview || intel_device_info_is_9lp(devinfo) || devinfo->verx10 >= 125; - else if (brw_reg_type_is_floating_point(inst->dst.type)) + else if (brw_reg_type_is_floating_point(dst_type)) return devinfo->verx10 >= 125; else -- 2.7.4