diff options
author | Connor Abbott <[email protected]> | 2015-08-11 14:10:46 -0700 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2016-05-10 11:25:07 +0200 |
commit | 6b6d68ae0786e456faa828a7eaf76c981c44b1cb (patch) | |
tree | 40f724a240d88679b69f947319c7cb4b603a571a /src/mesa/drivers | |
parent | e83f51d54e9c3db11526b66a741352135eae6f52 (diff) |
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 <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 6eae49fdf4a..96610ba4328 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -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); } } |