Samuel Iglesias Gonsálvez <[email protected]> writes: > From: Connor Abbott <[email protected]> > > --- > src/mesa/drivers/dri/i965/brw_fs.cpp | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp > b/src/mesa/drivers/dri/i965/brw_fs.cpp > index 729c7a0..45afd1a 100644 > --- a/src/mesa/drivers/dri/i965/brw_fs.cpp > +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp > @@ -372,9 +372,9 @@ fs_inst::is_copy_payload(const brw::simple_allocator > &grf_alloc) const > return false; > > if (i < this->header_size) { > - reg.reg_offset += 1; > + reg.reg_offset += DIV_ROUND_UP(type_sz(reg.type), 4);
This seems wrong, LOAD_PAYLOAD treats each header source as a 32B block
regardless of the datatype, please drop the hunk above.
> } else {
> - reg.reg_offset += this->exec_size / 8;
> + reg = horiz_offset(reg, this->exec_size);
> }
> }
>
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
