Skip to content
Snippets Groups Projects
Commit ab8e531c authored by Icecream95's avatar Icecream95 Committed by Marge Bot
Browse files

panfrost: Fix viewport scissor for preload draws


The max values are inclusive, so add 1 before aligning. This means
that a max of 32 will be aligned up to 64 then be decremented to 63.

Add a comment to the pan_fb_info struct to document maxx and maxy as
inclusive.

Fixes: 8ba2f9f6 ("panfrost: Create a blitter library to replace the existing preload helpers")
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Part-of: <mesa/mesa!10542>
parent 9910a14a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment