i965/vec4: Use reads_accumulator_implicitly(), not MACH checks.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 22 Apr 2017 22:02:08 +0000 (15:02 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 24 Apr 2017 17:53:49 +0000 (10:53 -0700)
commit6b10c37b9c3a73add73f444fe1aee73c9ec82c94
tree078a9870ef6ec30b1d75fee71a6d83150a42655a
parent11db3d10bbab2fac0e7a1dfef08df72760b6badc
i965/vec4: Use reads_accumulator_implicitly(), not MACH checks.

Curro pointed out that I should not just check for MACH, but use
the reads_accumulator_implicitly() helper, which would also prevent
the same bug with MAC and SADA2 (if we ever decide to use them).

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/compiler/brw_vec4.cpp