layers: Cleanup core_validation fence tracking
authorTobin Ehlis <tobine@google.com>
Mon, 18 Apr 2016 21:45:20 +0000 (15:45 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 21 Apr 2016 13:32:08 +0000 (07:32 -0600)
commit685d2e1ff51eb668a715d5f7e59999cd404b64ef
tree637832b7b9af778f6ae6468cefc0509249f6abe3
parent3e2f58b5b8dd321462366d9d6c6cf54e8c9b4b07
layers: Cleanup core_validation fence tracking

There were two separate mechanisms for tracking fence state in core_validation.
This change removes the last[Retired|Submitted]Id per queue method.
We also no longer over-write the fence createInfo to track fence state, but
just use the needsSignaled bool for all fence state tracking.
Finally, there was a validation test/check flagging an error if an
unsignaled fence was reset, but this is valid based on the spec so removed
the check and changed test to be a positive test expected to pass.
layers/core_validation.cpp
layers/core_validation.h