i965/vec4: prevent copy-propagation from values with a different type size
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 16 Jun 2016 11:41:48 +0000 (13:41 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:51 +0000 (11:26 +0100)
commit70cc6b0a022c1bfd8d17d5e931b276cb2ef2a456
treec092e97f907d80779cbfe811aeb5e82f6dbe343a
parent0fec5e9867fe46c543509f6555d31b8ada835f8e
i965/vec4: prevent copy-propagation from values with a different type size

Because the meaning of the swizzles and writemasks involved is different,
so replacing the source would lead to different semantics.

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