layers: Fix tracking of WSI fence retirement
authorChris Forbes <chrisforbes@google.com>
Wed, 21 Sep 2016 01:36:19 +0000 (13:36 +1200)
committerChris Forbes <chrisforbes@google.com>
Wed, 21 Sep 2016 23:47:21 +0000 (11:47 +1200)
commitc5326ca8d03d2d1f62202917a2ef4c575d449b80
treea61255b7734e4a905eea56be637f785dddb631dc
parentd88cf6a4b4e7af75cbce644d6ebdba62a20f5803
layers: Fix tracking of WSI fence retirement

Previously we'd note that the fence wasn't submitted to a queue, and so
never call RetireWorkOnQueue, which is the only thing that marked the
fence as retired. In the WSI fence case, we still aren't doing any
tracking of completion of the WSI operation (we should! image ownership
is easily fouled up!) but we can at least retire the fence.

Fixes #954.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
layers/core_validation.cpp