mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
hk: Fix hk_ia_update arguments order
Fix defect reported by Coverity Scan.
Arguments in wrong order (SWAPPED_ARGUMENTS)
swapped_arguments: The positions of arguments in the call to
hk_ia_update do not match the ordering of the parameters:stat_c_inv is
passed to c_prims.stat_c_prims is passed to c_inv.
Fixes: a3b796ba19 ("libagx,hk: handle pipeline stats queries without a GS")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32853>
This commit is contained in:
parent
eac8f1d460
commit
3514b65c35
1 changed files with 1 additions and 1 deletions
|
|
@ -3438,7 +3438,7 @@ hk_draw(struct hk_cmd_buffer *cmd, uint16_t draw_id, struct agx_draw draw_)
|
|||
|
||||
if (ia_stats) {
|
||||
hk_ia_update(cmd, ccs, draw, stat_ia_verts, stat_ia_prims, stat_vs_inv,
|
||||
stat_c_inv, stat_c_prims);
|
||||
stat_c_prims, stat_c_inv);
|
||||
}
|
||||
|
||||
if (tess) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue