intel: fix waiting of present fences
authorChia-I Wu <olv@lunarg.com>
Wed, 25 Feb 2015 22:06:15 +0000 (15:06 -0700)
committerChia-I Wu <olv@lunarg.com>
Thu, 26 Feb 2015 03:11:13 +0000 (11:11 +0800)
commitbda4f62ba71f7ca6f699ae29bf8cb174fab4e5bf
treef31fb601dcb6200ac2aa17b3f6d87b73e6995030
parent821b57feb0c28cb100c80186d245029983083a9f
intel: fix waiting of present fences

For presentation fences, we should wait until the server has submitted the
presentation command to the kernel _and_ the GPU has executed the command.
We failed to wait for the latter until this fix.
icd/intel/fence.c
icd/intel/fence.h
icd/intel/wsi_x11.c