st/dri: use stapi flush instead of pipe flush when creating fences
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 22 Oct 2017 15:38:37 +0000 (17:38 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 9 Nov 2017 13:20:58 +0000 (14:20 +0100)
commit884a0b2a9e55d4c1ca39475b50d9af598d7d7280
tree0b7661fdf0ad273417149f55092a1c66ac019a21
parentb921da3b74d71598c47da2bc46e445e3813d7933
st/dri: use stapi flush instead of pipe flush when creating fences

There may be pending operations (e.g. vertices) that need to be flushed
by the state tracker.

Found by inspection.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/state_trackers/dri/dri_helpers.c