Skip to content
Snippets Groups Projects
Commit 340e0425 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz :lifter: Committed by Dylan Baker
Browse files

util/draw: fix map size of indirect buffer in util_draw_indirect_read


this was incorrectly calculating too small of a map region if
the stride was less than the size of the struct

Fixes: 3eb99323 ("aux/draw: add a util function for reading back indirect draw params")

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Part-of: <mesa/mesa!15963>
(cherry picked from commit efca37d4)
parent febfe471
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