i965/fs: fix copy propagation from load payload
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 12 Apr 2016 11:53:24 +0000 (13:53 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 16 May 2016 07:55:32 +0000 (09:55 +0200)
commit789eecdb79d899a070507355ecb4dc137600f700
tree3c5bfca82f686fd9bf9e0903c0eb9c068095daf3
parentcf375a3333e54a01462f192202d609436e5fbec8
i965/fs: fix copy propagation from load payload

We were not considering the case where the load payload is writing to
a destination with a reg_offset > 0.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp