radeonsi: move the accepting code into the bbox cull branch in NGG cull code
authorMarek Olšák <marek.olsak@amd.com>
Tue, 1 Jun 2021 05:40:37 +0000 (01:40 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 20 Jun 2021 05:22:01 +0000 (01:22 -0400)
commit9c3225cb53bae8dacf6c5b1407b3c59f3de95c1c
tree54bec891ca1ed8436089df8ae76d75c83b4f9305
parent12d2df15f178591d45193b6cc3e093281e2ea0aa
radeonsi: move the accepting code into the bbox cull branch in NGG cull code

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

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/gfx10_shader_ngg.c