mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 16:50:30 +01:00
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:
parent
9bce479efc
commit
d8bd30d9b2
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue