pvr: Transfer multiple emits clip rectangle
Adjust PBE clip rectangle for second emit. Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>
This commit is contained in:
committed by
Marge Bot
parent
9bce479efc
commit
d8bd30d9b2
@@ -889,10 +889,10 @@ pvr_pbe_setup_modify_defaults(const struct pvr_transfer_cmd_surface *dst,
|
||||
|
||||
render_params->min_x_clip = (uint32_t)clip_rect->offset.x;
|
||||
render_params->max_x_clip =
|
||||
(uint32_t)clip_rect->offset.x + clip_rect->extent.width;
|
||||
(uint32_t)clip_rect->offset.x + clip_rect->extent.width - 1U;
|
||||
render_params->min_y_clip = (uint32_t)clip_rect->offset.y;
|
||||
render_params->max_y_clip =
|
||||
(uint32_t)clip_rect->offset.y + clip_rect->extent.height;
|
||||
(uint32_t)clip_rect->offset.y + clip_rect->extent.height - 1U;
|
||||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user