layers: GH1143, Validate vertex attribute formats
authorMark Lobodzinski <mark@lunarg.com>
Wed, 16 Nov 2016 18:12:30 +0000 (11:12 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Wed, 16 Nov 2016 20:01:55 +0000 (13:01 -0700)
commite7324857faf0ec5c3abf555302b062e1c37553ec
tree4b4daf1746e3f0fa10414dbf978e9f215d59011a
parent8c8cd92b22ec2f608365cc3b47328906aa52a02b
layers: GH1143, Validate vertex attribute formats

Formats specified as vertex attributes (createGraphicsPipelines->
pCreateInfos->pVertexInputState->pVertexAttributeDescriptions.format)
must have the VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT set.

Change-Id: I907c37e2edbcfb7bcb405f912cea8d215acccb11
layers/core_validation.cpp