intel/compiler: Allow ternary add to promote source to immediate
authorSagar Ghuge <sagar.ghuge@intel.com>
Thu, 8 Jul 2021 01:14:57 +0000 (18:14 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 16 Jul 2021 15:59:56 +0000 (15:59 +0000)
commite6db2299a8e872336b5d43f78e78222c0f9cb279
tree41f957529239c09f59b78ae7dfd8117e19cef989
parentcde9ca616d7bd2ecdf3281f087e9c7acccc85192
intel/compiler: Allow ternary add to promote source to immediate

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11596>
src/intel/compiler/brw_fs_combine_constants.cpp