OSDN Git Service

i965/fs: Take into account copy register offset during compute-to-mrf.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 3 Sep 2016 20:04:23 +0000 (13:04 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 14 Sep 2016 21:50:56 +0000 (14:50 -0700)
commitcd0134072a7e088cf1ebcf1c4250aa13ac8a5c59
tree8c7d47acd79438381be2ecff8253cb6b8f7f6371
parentfcd9d1badcd97486eea5d87bf701a3b0a16b4ba9
i965/fs: Take into account copy register offset during compute-to-mrf.

This was dropping 'inst->dst.offset' on the floor.  Nothing in the
code above seems to guarantee that it's zero and in that case the
offset of the register being coalesced into wouldn't be taken into
account while rewriting the generating instruction.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_fs.cpp