i965/fs: Allow cmod propagation when src0 is a uniform or shader input
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 14 Mar 2018 17:19:19 +0000 (10:19 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 26 Mar 2018 15:50:43 +0000 (08:50 -0700)
commit5bbb3d60d358cf906ca7078641ae7fb50c4d4e06
treeeb3e698fe6bb879f439d0d1cbef29b51b80c6952
parent8f83eea71e233227d34dc8547dac79d2912c2311
i965/fs: 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 about 900 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_fs_cmod_propagation.cpp