mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 11:20:20 +01:00
anv/memcpy: fix build after starting to use addresses
The offsets now come from the anv_address, these references were not
updated and using the old variable.
Fixes: e1ab834557 "anv/memcpy: Use addresses instead of bo+offset"
Tested-by: Clayton Craft <clayton.a.craft@intel.com>
This commit is contained in:
parent
d6a73824bd
commit
f9d25f630c
1 changed files with 2 additions and 2 deletions
|
|
@ -121,8 +121,8 @@ genX(cmd_buffer_so_memcpy)(struct anv_cmd_buffer *cmd_buffer,
|
|||
|
||||
/* The maximum copy block size is 4 32-bit components at a time. */
|
||||
unsigned bs = 16;
|
||||
bs = gcd_pow2_u64(bs, src_offset);
|
||||
bs = gcd_pow2_u64(bs, dst_offset);
|
||||
bs = gcd_pow2_u64(bs, src.offset);
|
||||
bs = gcd_pow2_u64(bs, dst.offset);
|
||||
bs = gcd_pow2_u64(bs, size);
|
||||
|
||||
enum isl_format format;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue