intel/brw: Disallow cmod in some cases of ARF scalar as destination

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32758>
This commit is contained in:
Caio Oliveira 2024-11-20 08:12:52 -08:00
parent 43d59c6186
commit ada898bb1c

View file

@ -393,6 +393,9 @@ fs_inst::can_do_cmod() const
return false; return false;
} }
if (dst.file == ARF && dst.nr == BRW_ARF_SCALAR && src[0].file == IMM)
return false;
return true; return true;
} }