i965/fs: fix is_copy_payload() for doubles

v2 (Sam):
- LOAD_PAYLOAD treats each header source as a 32B block
  regardless of the datatype. Drop the change (Curro)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
Connor Abbott 2015-08-11 14:10:46 -07:00 committed by Samuel Iglesias Gonsálvez
parent e83f51d54e
commit 6b6d68ae07

View file

@ -374,7 +374,7 @@ fs_inst::is_copy_payload(const brw::simple_allocator &grf_alloc) const
if (i < this->header_size) {
reg.reg_offset += 1;
} else {
reg.reg_offset += this->exec_size / 8;
reg = horiz_offset(reg, this->exec_size);
}
}