intel/fs: Assert if lower_source_modifiers converts 32x16 to 32x32 multiplication
authorMark Janes <markjanes@swizzler.org>
Fri, 7 Aug 2020 23:35:32 +0000 (16:35 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 10 Aug 2020 20:29:56 +0000 (13:29 -0700)
commitee06e47c5b1d7e5132435ba4ed7be5a2b16bc77e
tree91e1ce9fd492b39d3e6d5edbc9dd93e43440c7fe
parent166630f759246cc1a49ece8dc3feb4e3d6a777a2
intel/fs: Assert if lower_source_modifiers converts 32x16 to 32x32 multiplication

Lowering source modifiers will convert a 16bit source to a 32bit
value.  In the case of integer multiplication, this will reverse
previous lowering performed by lower_mul_dword_inst.

Assert to prevent an illegal DxD operation (and GPU hang).

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/compiler/brw_fs_lower_regioning.cpp