mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
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> (cherry picked from commit5eda9673b2)
This commit is contained in:
parent
4691bc5d20
commit
bd01bc1f68
2 changed files with 2 additions and 2 deletions
|
|
@ -193,7 +193,7 @@
|
|||
"description": "radeonsi: fix si_get_draw_start_count count value",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "0ce68852c1a8d37e837d64f97a2a2ef5d6b669a5"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1624,7 +1624,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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue