radeonsi: always create wait_mem_scratch for compute-based culling
authorMarek Olšák <marek.olsak@amd.com>
Fri, 20 Mar 2020 22:20:52 +0000 (18:20 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sat, 28 Mar 2020 00:58:34 +0000 (00:58 +0000)
commitbe9455bdf767dd851c56075e6dd84b27e95dcfc2
tree55d4c4c45bdd99cbc01ae6550fefae35b647051a
parent42ce52b904323b1a165cfbc568f708ce7f39fe45
radeonsi: always create wait_mem_scratch for compute-based culling

used by the primitive restart emulation

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