i965/fs: Take into account all instruction fields in CSE instructions_match().
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 4 Jun 2015 12:09:10 +0000 (15:09 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 9 Jun 2015 12:18:31 +0000 (15:18 +0300)
commit8013b8147ae5fc652799c7ff01c2d419ebebe3db
tree75f8575f73d6b1cff6e3d7b88545a61386aa05ce
parentd86c2e6e539db518dca162145c096b7440d043a7
i965/fs: Take into account all instruction fields in CSE instructions_match().

Most of these fields affect the behaviour of the instruction so it
could actually break the program if we CSE a pair of otherwise
matching instructions with different values of these fields.

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