diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-12-09 10:08:09 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-12-09 10:33:22 -0700 |
| commit | 3fb6cd9faf2d9267ce3ea5b6b9dabca30854b206 (patch) | |
| tree | b80118b24f9a796cf888a1ba5f1d9b85d5945310 | |
| parent | 87d55e68fbb5461a19ec2906b7ebcb05f3ec1973 (diff) | |
| download | usermoji-3fb6cd9faf2d9267ce3ea5b6b9dabca30854b206.tar.xz | |
layers: Update details doc for new LVT
Added RenderPassClearOpTooManyValues and new error enum.
Change-Id: I598e7adf3897996efcf2f9c3023521e710b06cc6
| -rw-r--r-- | layers/vk_validation_layer_details.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/vk_validation_layer_details.md b/layers/vk_validation_layer_details.md index 337f74ef..0a16af90 100644 --- a/layers/vk_validation_layer_details.md +++ b/layers/vk_validation_layer_details.md @@ -70,6 +70,7 @@ The Draw State portion of the core validation layer tracks state leading into Dr | Correct use of RenderPass | Validates that the following rendering commands are issued inside an active RenderPass: vkCmdDraw, vkCmdDrawIndexed, vkCmdDrawIndirect, vkCmdDrawIndexedIndirect, vkCmdClearAttachments, vkCmdNextSubpass, vkCmdEndRenderPass | NO_ACTIVE_RENDERPASS | vkCmdBindPipeline vkCmdBindDescriptorSets vkCmdDraw vkCmdDrawIndexed vkCmdDrawIndirect vkCmdDrawIndexedIndirect vkCmdClearAttachments vkCmdNextSubpass vkCmdEndRenderPass | ClearColorAttachmentsOutsideRenderPass | NA | | Valid RenderPass | Flag error if attempt made to Begin/End/Continue a NULL or otherwise invalid RenderPass object | INVALID_RENDERPASS | vkCmdBeginRenderPass vkCmdEndRenderPass vkBeginCommandBuffer | NullRenderPass | NA | | RenderPass Compatibility | Verify that active renderpass is compatible with renderpass specified in secondary command buffer, and that renderpass specified for a framebuffer is compatible with renderpass specified in secondary command buffer. Also that parameters for BeginRenderpass are compatible with actual renderpass. | RENDERPASS_INCOMPATIBLE | vkCmdExecuteCommands vkBeginCommandBuffer vkCmdBeginRenderPass vkCmdDraw vkCmdDrawIndexed vkCmdDrawIndirect vkCmdDrawIndexedIndirect | RenderPassClearOpMismatch RenderPassIncompatible FramebufferCreateErrors | Need to write some more tests to cover all of these cases. | +| RenderPass bad clear value count| Verify that the number of clear values specified when creating a render pass is within reason | RENDERPASS_TOO_MANY_CLEAR_VALUES | vkCmdBeginRenderPass | RenderPassClearOpTooManyValues | NA | | Framebuffer Compatibility | If a framebuffer is passed to secondary command buffer in vkBeginCommandBuffer, then it must match active renderpass (if any) at time of vkCmdExecuteCommands | FRAMEBUFFER_INCOMPATIBLE | vkCmdExecuteCommands | FramebufferIncompatible | None | | Framebuffer Creation | If a CreateFramebuffer is called with invalide CreateInfo such as attachments with bad mip levelCount or dimensions | INVALID_FRAMEBUFFER_CREATE_INFO | vkCreateFramebuffer | FramebufferCreateErrors | None | | DescriptorSet Updated | Warn user if DescriptorSet bound that was never updated and is not empty. Trigger error at draw time if a set being used was never updated. | DESCRIPTOR_SET_NOT_UPDATED | vkCmdBindDescriptorSets vkCmdDraw vkCmdDrawIndexed vkCmdDrawIndirect vkCmdDrawIndexedIndirect | DescriptorSetCompatibility | NA | |
