i965/vec4: Check that the write offsets match when setting dependency controls.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 2 Sep 2016 05:02:00 +0000 (22:02 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 14 Sep 2016 21:50:58 +0000 (14:50 -0700)
commit3be0d6d040753c62b25077fb6b85ad1f0808b258
tree5fe65a40aae419eea34d29ab69bec487cd330a31
parentb52fefc4d55a4627bf0d59c78ac531603fa08fda
i965/vec4: Check that the write offsets match when setting dependency controls.

For simplicity just assume that two writes to the same GRF with
different sub-GRF offsets will potentially interfere and break the
dependency control chain.  This is in preparation for adding sub-GRF
offset support to the VEC4 IR.

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