i965/vec4: Take into account all instruction fields in CSE instructions_match().
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 4 Jun 2015 13:05:33 +0000 (16:05 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 9 Jun 2015 12:18:31 +0000 (15:18 +0300)
commit497d238ae72aa59fb32b21191a1a0444ca09fc10
tree34055ebc39ffd4b33e9d0a4a65f72564ccb7d47f
parent8013b8147ae5fc652799c7ff01c2d419ebebe3db
i965/vec4: Take into account all instruction fields in CSE instructions_match().

Most of these fields affect the behaviour of the instruction, but
apparently we currently don't CSE the kind of instructions for which
these fields could make a difference in the VEC4 back-end.  That's
likely to change soon though when we start using send-from-GRF for
texture sampling and surface access messages.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4_cse.cpp