layers: Indicate correct source for validateCommandBufferState() error
authorTobin Ehlis <tobine@google.com>
Tue, 27 Sep 2016 19:10:33 +0000 (13:10 -0600)
committerTobin Ehlis <tobine@google.com>
Wed, 28 Sep 2016 17:44:37 +0000 (11:44 -0600)
commit6bf289a3252a9addb6631fda3dc1eaaf72d9bb25
tree7fb4b9ffcaac92205a98a7c968a1f6679946b792
parent40c868be929c891ba454ef66c3dc715dd164dafb
layers: Indicate correct source for validateCommandBufferState() error

Fixes #982

Instead of hard-coding vkQueueSubmit, take a parameter to clarify if the error
originates from vkQueueSubmit() or vkCmdExecuteCommands()
layers/core_validation.cpp