radeonsi: fix incorrect counting of compute_num_verts_rejected
authorMarek Olšák <marek.olsak@amd.com>
Mon, 31 May 2021 23:36:53 +0000 (19:36 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 20 Jun 2021 05:22:01 +0000 (01:22 -0400)
commit848dbe9ff7bb696250dfb2e79f7dfd661cba69b5
tree26168271c585a297f5ab010c7a619c63c599d198
parent3cde2f96f9bc86de714795a7491d1cf7ede2268a
radeonsi: fix incorrect counting of compute_num_verts_rejected

Both cases should subtract to undo what is done in the conditional.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11486>
src/gallium/drivers/radeonsi/si_state_draw.cpp