From 6b6d68ae0786e456faa828a7eaf76c981c44b1cb Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Tue, 11 Aug 2015 14:10:46 -0700 Subject: [PATCH] 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 Reviewed-by: Jordan Justen --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.30.2