st/mesa: Deal with empty textures/buffers in semaphore wait/signal.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 19 Sep 2020 15:28:17 +0000 (17:28 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 22 Sep 2020 00:14:55 +0000 (00:14 +0000)
commitade72e677b3e3d15221c0097c76573c36e47d0f8
tree603b6b6e7cc369373fcb87c39727b943aa76c790
parent08add9f61c96f749ae5830545ff91be195610daf
st/mesa: Deal with empty textures/buffers in semaphore wait/signal.

The actual texture might not have been created yet.

Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3257
CC: mesa-stable
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6788>
src/mesa/state_tracker/st_cb_semaphoreobjects.c