Fix vkQueueSubmit problem with AMD GPU
With AMD GL driver, glSignalSemaphoreEXT() doesn't flush the gl context, and AMD DRM kernel driver checks every semaphores which are waited on with vkQueueSubmit() call, to make sure the works to signal those semaphores are submitted to DRM kernel driver. Otherwise the vkQueueSubmit() will fail. So we need to call glFlush() explicitly after calling glSignalSemaphoreEXT(). Bug: 1046462 Change-Id: I7d0967ab33953a2571376314f9aac238b86759fd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2034621 Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org> Auto-Submit: Peng Huang <penghuang@chromium.org> Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#737777}
Showing
Please register or sign in to comment