mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
comments
This commit is contained in:
parent
e0271e16da
commit
28b315dc1a
2 changed files with 7 additions and 6 deletions
|
|
@ -1414,9 +1414,10 @@ copy_image_data_to_tree(struct pipe_context *pipe,
|
|||
/* Copy potentially with the blitter:
|
||||
*/
|
||||
st_miptree_image_copy(pipe,
|
||||
stObj->mt,
|
||||
stImage->face,
|
||||
stImage->level, stImage->mt);
|
||||
stObj->mt, /* dest miptree */
|
||||
stImage->face, stImage->level,
|
||||
stImage->mt /* src miptree */
|
||||
);
|
||||
|
||||
st_miptree_release(pipe, &stImage->mt);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -309,10 +309,10 @@ st_miptree_image_copy(struct pipe_context *pipe,
|
|||
for (i = 0; i < depth; i++) {
|
||||
pipe->region_copy(pipe,
|
||||
dst->region, dst_offset + dst_depth_offset[i],
|
||||
0,
|
||||
0,
|
||||
0, 0, /* destX, Y */
|
||||
src->region, src_offset + src_depth_offset[i],
|
||||
0, 0, width, height);
|
||||
0, 0, /* srcX, Y */
|
||||
width, height);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue