mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
nv50: fix sx/dx typo in transfer_rect_m2mf
This commit is contained in:
parent
d1b9183e64
commit
f498ccd654
1 changed files with 2 additions and 2 deletions
|
|
@ -76,13 +76,13 @@ nv50_transfer_rect_m2mf(struct pipe_screen *pscreen, struct nouveau_bo *src_bo,
|
|||
OUT_RELOCl(chan, dst_bo, dst_offset, dst_reloc);
|
||||
if (src_bo->tile_flags) {
|
||||
BEGIN_RING(chan, m2mf, 0x0218, 1);
|
||||
OUT_RING (chan, (dy << 16) | sx);
|
||||
OUT_RING (chan, (sy << 16) | sx);
|
||||
} else {
|
||||
src_offset += (line_count * src_pitch);
|
||||
}
|
||||
if (dst_bo->tile_flags) {
|
||||
BEGIN_RING(chan, m2mf, 0x0234, 1);
|
||||
OUT_RING (chan, (sy << 16) | dx);
|
||||
OUT_RING (chan, (dy << 16) | dx);
|
||||
} else {
|
||||
dst_offset += (line_count * dst_pitch);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue