intel/fs: Make the result of is_unordered() dependent on devinfo.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20072>
This commit is contained in:
Francisco Jerez
2022-02-18 21:58:24 -08:00
committed by Marge Bot
parent d608706875
commit 051887fbf3
3 changed files with 12 additions and 11 deletions
@@ -207,7 +207,7 @@ namespace {
has_invalid_src_region(const intel_device_info *devinfo, const fs_inst *inst,
unsigned i)
{
if (is_unordered(inst) || inst->is_control_source(i))
if (is_send(inst) || inst->is_math() || inst->is_control_source(i))
return false;
/* Empirical testing shows that Broadwell has a bug affecting half-float
@@ -248,7 +248,7 @@ namespace {
has_invalid_dst_region(const intel_device_info *devinfo,
const fs_inst *inst)
{
if (is_unordered(inst)) {
if (is_send(inst) || inst->is_math()) {
return false;
} else {
const brw_reg_type exec_type = get_exec_type(inst);