i965/vec4: Allow cmod propagation when src0 is a uniform or shader input
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 21 Mar 2018 22:22:15 +0000 (15:22 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 26 Mar 2018 15:50:43 +0000 (08:50 -0700)
commit780f307ba860e3d8f85df8d6e1e60a1d612b97d9
tree3640e597842d6d742a53dc27a547c9002d9ca565
parent020b0055e7a085a6a8c961ad12ce94e58606a1ae
i965/vec4: Allow cmod propagation when src0 is a uniform or shader input

No shader-db changes.  This source must have been written by a previous
instruction, so it cannot be a uniform or a shader input.  However, this
change allows the next commit to help more shaders.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_vec4_cmod_propagation.cpp