layers: Update behavior for secondary cmdbuffers w/ *_SIMULTANEOUS_USE_BIT set
authorTobin Ehlis <tobine@google.com>
Mon, 9 May 2016 19:22:50 +0000 (13:22 -0600)
committerTobin Ehlis <tobine@google.com>
Mon, 9 May 2016 21:47:57 +0000 (15:47 -0600)
commite55e75356449d1418f586922ab7b52621b216dd3
treeff1d0bf33c2b29cc214d46c25b83514e654fc078
parenta12907853c1f73946c285f50e5564594a5d08c39
layers: Update behavior for secondary cmdbuffers w/ *_SIMULTANEOUS_USE_BIT set

Spec clarification has been approved and secondary command buffers with
VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT may be in flight in multiple primary
command buffers at the same time.

This changes updates the error concerning secondary command buffers to be in-flight
on multiple primary command buffers to only appli if
VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT is not set.
layers/core_validation.cpp