aboutsummaryrefslogtreecommitdiff
path: root/layers/multi.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobin@lunarg.com>2015-06-24 15:53:07 -0600
committerTobin Ehlis <tobin@lunarg.com>2015-06-25 16:57:55 -0600
commit080219dffadb409ba62c3232a66f42ed906df650 (patch)
tree5c028e9efdd0bb3bfb0b4671e31681efc07522a0 /layers/multi.cpp
parent82ba60a0991028d347566cf919f9ab1a049a4127 (diff)
downloadusermoji-080219dffadb409ba62c3232a66f42ed906df650.tar.xz
layers: In DrawState, validate correct use of RenderPass
This change validates certain API calls are made inside of or outside of a RenderPass as appropriate. Exact restrictions included in this changelist are included below. Also fixed cube and tri demos to Bind Pipeline & DescriptorSets within RenderPass and updated some layer validation tests. The following calls must be within RenderPass: vkCmdBindPipeline() w/ GFX pipelineBindPoint vkCmdBindDescriptorSets() w/ GFX pipelineBindPoint vkCmdBindDynamicStateObject() vkCmdBindIndexBuffer() vkCmdBindVertexBuffers() vkCmdEndRenderPass() The following calls must be outside of RenderPass: vkCmdBindPipeline() w/ COMPUTE pipelineBindPoint vkCmdBindDescriptorSets() w/ COMPUTE pipelineBindPoint vkCmdBlitImage() vkCmdResolveImage() vkCmdBeginRenderPass()
Diffstat (limited to 'layers/multi.cpp')
0 files changed, 0 insertions, 0 deletions