radv: Fix timeline semaphore refcounting.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 22 Nov 2019 00:51:36 +0000 (01:51 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 28 Nov 2019 22:46:09 +0000 (23:46 +0100)
commit48fc65413c8607390b2ed8cdaccac490d8c8fdae
tree0a6fd6ef787094d97b4cc09cd76fdfead9dae3e6
parent3fe3bde4f2c8813e13fa2992212ca46a894e68b6
radv: Fix timeline semaphore refcounting.

Was totally broken ...

Removed two if(point) {} because point is always non-NULL and we
were counting on that already for counting, since we NULL our
references to semaphores without active point earlier.

Fixes: 4aa75bb3bdd "radv: Add wait-before-submit support for timelines."
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2137
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_device.c