tests:Update 2nd CB test to change rect value
authorTobin Ehlis <tobine@google.com>
Tue, 17 Apr 2018 22:15:01 +0000 (16:15 -0600)
committerTobin Ehlis <tobine@google.com>
Wed, 18 Apr 2018 12:25:15 +0000 (06:25 -0600)
commit7422d828bc093d1f562200bce5a185e78553c43a
tree7ebac78a1a16dba2fc08311c20fbea42321367f1
parentfa702f44e942f9dea26ba7c52bcb4062335ddb8c
tests:Update 2nd CB test to change rect value

Modify ConfirmNoVLErrorWhenVkCmdClearAttachmentsCalledInSecondaryCB
positive test to change the rect value after the call to
vkCmdClearAttachments() in the secondary command buffer but before the
secondary CB is executed in vkCmdExecuteCommands().
This exposes a previous bug in validation layers where the pointer to
the VkClearRect was copied, but not the underlying rect itself.
tests/layer_validation_tests.cpp