radeonsi: fix si_get_draw_start_count count value
Fixes: 0ce68852c1
("radeonsi: implement multi_draw but supporting only 1 draw")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3932
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8004>
This commit is contained in:

committed by
Marge Bot

parent
5d073b5aa1
commit
5eda9673b2
@@ -1761,7 +1761,7 @@ static void si_get_draw_start_count(struct si_context *sctx, const struct pipe_d
|
||||
}
|
||||
|
||||
*start = min_element;
|
||||
*count = max_element;
|
||||
*count = max_element - min_element;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user