diff options
-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); } } |