layers: GH1233, Validate stagemask/queue compatibility
authorMark Lobodzinski <mark@lunarg.com>
Sat, 10 Dec 2016 17:53:34 +0000 (10:53 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 13 Dec 2016 17:39:45 +0000 (10:39 -0700)
commit424d5c0adefe85fce2f48a78ddda7f772d913d62
tree8dfa2fc755727372ef1db24e615046bef0785680
parentaef8268064bfb86c60f0986955904f8bd6a68c1a
layers: GH1233, Validate stagemask/queue compatibility

Any pipeline stage included in srcStageMask or dstStageMask must be
supported by the capabilities of the queue family specified by the
queueFamilyIndex member of the VkCommandPoolCreateInfo structure
that was used to create the VkCommandPool that commandBuffer was
allocated from, as specified in the table of supported pipeline
stages.

Change-Id: I02117e7f60910f2154765b90340d8127d6bce0cd
layers/core_validation.cpp