layers:Refactor WaitForFences in core_validation
authorTobin Ehlis <tobine@google.com>
Tue, 6 Dec 2016 14:38:48 +0000 (07:38 -0700)
committerTobin Ehlis <tobine@google.com>
Wed, 7 Dec 2016 19:16:49 +0000 (12:16 -0700)
commitaccdf1d467e269e05b89764faf204fb2ff600b57
tree6e7d3b183eeab3c2659795db771e67a1047ebaa0
parent6cbb622d83693fe2696fe11175703e90d893e85a
layers:Refactor WaitForFences in core_validation

Refactor WaitForFences to use Pre/Post pattern. This function currently
has a Post effect that can cause a validation error. Planning to remove
this in a follow-on commit.
layers/core_validation.cpp