intel/fs: handle add3 in surface/sampler rematerialization
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 7 Aug 2023 11:09:21 +0000 (14:09 +0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 29 Sep 2023 10:46:47 +0000 (10:46 +0000)
commitd28f42f85dc86af971ef43f3dbbf1569c459b9cd
tree8d2c0fbdb283487120387505358361a2f095512b
parent05fd418e8b93dbcee9e464b650f1c4b1eb76bc29
intel/fs: handle add3 in surface/sampler rematerialization

Some recent NIR changes started generated those instructions. We need
to handle them to be able to rematerialize.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24554>
src/intel/compiler/brw_fs_nir.cpp