intel/fs: Get rid of fs_inst::equals

There are piles of fields that it doesn't check so using it is a lie.
The only reason why it's not causing problem is because it has exactly
one user which only uses it for MOV instructions (which aren't very
interesting) and only on Sandy Bridge and earlier hardware.  Just get
rid of it and inline it in the one place that it's actually used.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
Jason Ekstrand
2019-01-25 13:30:36 -06:00
committed by Jason Ekstrand
parent 446a14bc0a
commit 077b9557a4
2 changed files with 7 additions and 23 deletions

View File

@@ -347,7 +347,6 @@ public:
void resize_sources(uint8_t num_sources);
bool equals(fs_inst *inst) const;
bool is_send_from_grf() const;
bool is_partial_write() const;
bool is_copy_payload(const brw::simple_allocator &grf_alloc) const;