ac/llvm: call the callback in all return paths of ac_cull_triangle
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 21 Jun 2021 13:04:19 +0000 (15:04 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 29 Jun 2021 21:38:21 +0000 (23:38 +0200)
commitb564ec776933521263c49028bd266da4160c6a68
tree7586fc082ddae04e5a7becd07c522ff29a3638b8
parent017d6cc642fb6d3f794f278f5085a7f55e8869ad
ac/llvm: call the callback in all return paths of ac_cull_triangle

Fixes: 12d2df15f17 ("ac/llvm: add a callback to ac_cull_triangle to generate code in inner-most block")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4959
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11625>
src/amd/llvm/ac_llvm_cull.c