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)
commitd4513979120463171eb479cdded9336eb9944da1
tree40d6a255485474b886125b03c9b2472cb93bda78
parentb3ecd4c1fb44a2e65dfc13256afa9150aabde1d4
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