i965/fs: Compare full register offsets in cmod propagation pass.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 2 Sep 2016 04:16:14 +0000 (21:16 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 14 Sep 2016 21:50:55 +0000 (14:50 -0700)
commit9ae77d702043231571b5ef08951224e3c77baddd
tree44cef3a9e53f78783b75d2fb42081214df99ad9b
parent3a4ea7cf803cb5af2b7d0e7d71ee4825294a94aa
i965/fs: Compare full register offsets in cmod propagation pass.

This could potentially have misoptimized a program in cases where
inst->src[0] had a non-zero sub-GRF offset.

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