intel/fs: fixup sources number from opt_algebraic
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 7 Mar 2023 15:54:16 +0000 (17:54 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 14 Mar 2023 10:38:50 +0000 (10:38 +0000)
commited3c2f73dbb161e882bcda978aac3011a4d51839
tree2997a2bd8f74d4468f13da5c660d3f82fc5a05f6
parent18bdc7145982d9188d1141f0dc19467db7cb3b34
intel/fs: fixup sources number from opt_algebraic

Fixes issues with register_coalesce :

fossilize-replay: brw_fs_register_coalesce.cpp:297: bool fs_visitor::register_coalesce(): Assertion `mov[i]->sources == 1' failed.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Marcin Ĺšlusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21782>
src/intel/compiler/brw_fs.cpp