intel/fs: use the final destination type for regioning restrictions

This is most likely a rebase mistake :(

Fixes: f3e5cd813a ("intel/fs: Handle regioning restrictions of split FP/DP pipelines.")
Ref: aa53665fda ("intel/fs/copy_prop: check stride constraints with actual final type")
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10764>
This commit is contained in:
Lionel Landwerlin
2021-05-12 11:24:12 +03:00
committed by Marge Bot
parent e1959f0f59
commit f46aa1b9d7

View File

@@ -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