summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Schultz <karl@lunarg.com>2018-10-30 16:54:07 -0600
committerKarl Schultz <karl@lunarg.com>2018-10-31 12:42:31 -0600
commit955bf5855dda1402658681148d658489869c273c (patch)
treeb2785ffe074bf637b12700229ec8d4001b4f17f6
parentbd68df021088312bebe822dfa0f59620f4a61a23 (diff)
downloadVulkan-ValidationLayers-955bf5855dda1402658681148d658489869c273c.tar.gz
Vulkan-ValidationLayers-955bf5855dda1402658681148d658489869c273c.tar.bz2
Vulkan-ValidationLayers-955bf5855dda1402658681148d658489869c273c.zip
tests: Remove unused variables
-rw-r--r--tests/layer_validation_tests.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp
index 5ed62d96d..b150118ce 100644
--- a/tests/layer_validation_tests.cpp
+++ b/tests/layer_validation_tests.cpp
@@ -6818,19 +6818,6 @@ TEST_F(VkLayerTest, RenderPassBeginClearOpMismatch) {
VkRenderPass rp;
vkCreateRenderPass(m_device->device(), &rpci, NULL, &rp);
- VkCommandBufferInheritanceInfo hinfo = {};
- hinfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO;
- hinfo.renderPass = VK_NULL_HANDLE;
- hinfo.subpass = 0;
- hinfo.framebuffer = VK_NULL_HANDLE;
- hinfo.occlusionQueryEnable = VK_FALSE;
- hinfo.queryFlags = 0;
- hinfo.pipelineStatistics = 0;
- VkCommandBufferBeginInfo info = {};
- info.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT;
- info.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO;
- info.pInheritanceInfo = &hinfo;
-
VkRenderPassBeginInfo rp_begin = {};
rp_begin.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO;
rp_begin.pNext = NULL;