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:
Vinson Lee
2025-01-02 17:30:36 -08:00
committed by Marge Bot
parent eac8f1d460
commit 3514b65c35

View File

@@ -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) {