i965/vec4: Prevent copy propagation from violating pre-gen8 restrictions
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 23 Jun 2016 06:34:53 +0000 (08:34 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:51 +0000 (11:26 +0100)
commit6637312847527783eff9e315362ccd8cc87f595d
tree4287fee5c170f9124441e49bf5abc71fd13e7e81
parent70cc6b0a022c1bfd8d17d5e931b276cb2ef2a456
i965/vec4: Prevent copy propagation from violating pre-gen8 restrictions

In gen < 8 instructions that write more than one register need to read
more than one register too. Make sure we don't break that restriction
by copy propagating from a uniform.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp