layers:Limit warning on secondary command buffer
authorTobin Ehlis <tobine@google.com>
Fri, 1 Dec 2017 22:59:53 +0000 (15:59 -0700)
committerTobin Ehlis <tobine@google.com>
Mon, 4 Dec 2017 23:54:00 +0000 (16:54 -0700)
commit9d3922829dc19b16defae8f063ad1757dcc34130
tree2a5ae51996858a7fd31571c96b90c44016e5816e
parent003c9346bbe19f840685e31dc86f62a5b60953ec
layers:Limit warning on secondary command buffer

Only warn if a secondary command buffer has a renderPass that is valid
and has not set VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT. This
avoid warning for the case where uninitialized data is present in the
renderPass handle.
layers/core_validation.cpp