Fix VkHardwareBufferTest to flush EGL in correct order for syncs.

We need to flush the Skia work before we put in the EGLSync or else the
sync will be before all the work we're wanting to wait on.

Change pulled from proposed change in bug to land in Skia repo.

Bug: b/242218558
Change-Id: I848fe0d8350b55290f763a764b69430854243d33
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/568617
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
1 file changed