intel/vec4: Don't try both sources as immediates for DPH
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 15 Jul 2019 18:38:55 +0000 (11:38 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 17 Oct 2019 22:07:01 +0000 (15:07 -0700)
commit92252219d384a9ffdf2619f8228449963cd81872
treea7a3bd987dfde47776ad6b7acb9be6a3f07b748d
parent050e4e28bf7c86e2fc78b9e4dbaf285db1ed4b43
intel/vec4: Don't try both sources as immediates for DPH

DPH isn't actually commutative, so this doesn't work.  If the immediate
in src0 would be a VF candidate, we could do better. *shrug*

No shader-db changes on any Intel platform.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fixes: b04beaf41d2 ("intel/vec4: Try both sources as candidates for being immediates")
src/intel/compiler/brw_vec4_nir.cpp