st/mesa: unduplicate st_check_sync code
authorMarek Olšák <marek.olsak@amd.com>
Tue, 25 Oct 2016 10:58:03 +0000 (12:58 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 26 Oct 2016 11:02:58 +0000 (13:02 +0200)
commitf240ad98bc05281ea7013d91973cb5f932ae9434
tree1e03d7861276c4d5bb1fcc5f57201327cb8fb011
parentad45dce4a2896639a28a91f4250e40dae9d43b1f
st/mesa: unduplicate st_check_sync code

It's the same as st_client_wait_sync. Discovered by Michel.
This is needed to make the following fix simpler.

Cc: 12.0 13.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_cb_syncobj.c