mesa: flush and wait after creating a fallback texture
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 22 Oct 2017 15:39:04 +0000 (17:39 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 9 Nov 2017 13:20:58 +0000 (14:20 +0100)
commitcc78d770439cfc1ae8ec0c802e5fcb5eae25979f
treeed9a5b8f1ec6624bab7f97301e8e1b47c8e074df
parent46444613cfc46e71f3b875b9a202e0f60ba79cfd
mesa: flush and wait after creating a fallback texture

Fixes non-deterministic failures in
dEQP-EGL.functional.sharing.gles2.multithread.simple_egl_sync.images.texture_source.teximage2d_render
and others in dEQP-EGL.functional.sharing.gles2.multithread.*

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/texobj.c