Mesa (main): intel/fs: use the final destination type for regioning restrictions
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed May 12 21:36:28 UTC 2021
Module: Mesa
Branch: main
Commit: f46aa1b9d7c5c89fa1059c04b9a5e62f177177a2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f46aa1b9d7c5c89fa1059c04b9a5e62f177177a2
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Wed May 12 11:24:12 2021 +0300
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 <lionel.g.landwerlin at intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10764>
---
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 6496957a17a..214b0763d5e 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
More information about the mesa-commit
mailing list