radeonsi: move the accepting code into the bbox cull branch in prim discard CS
authorMarek Olšák <marek.olsak@amd.com>
Tue, 1 Jun 2021 05:40:37 +0000 (01:40 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 28 Jun 2021 13:23:14 +0000 (13:23 +0000)
commit24292cc003aeba8d624d694dd78a920a1f819b3d
tree4e490c2fc6bee2d0da839fdaeb0549d396e452d8
parentb141e50282752cd1ad6de274fb0e66a3f7e6d011
radeonsi: move the accepting code into the bbox cull branch in prim discard CS

This reduces the number of jumps. No change in behavior.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11510>
src/gallium/drivers/radeonsi/si_compute_prim_discard.c