From 7ca4501733051bec726ed9a87a352f9fa3eac327 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Thu, 18 May 2017 12:02:34 -0600 Subject: layers: Kill assert for NULL pInheritanceInfo->FB It is perfectly acceptable for the FB member of this structure to be NULL. Remove assert. Change-Id: I22b207bc6d96e1bb4b7c5f71a8dd796da6639642 --- layers/core_validation.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'layers/core_validation.cpp') diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 471a0b01..365790e4 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -6503,9 +6503,7 @@ VKAPI_ATTR VkResult VKAPI_CALL BeginCommandBuffer(VkCommandBuffer commandBuffer, validation_error_map[VALIDATION_ERROR_00106]); } else { if (pBeginInfo->flags & VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT) { - // Object_tracker makes sure these objects are valid assert(pInfo->renderPass); - assert(pInfo->framebuffer); string errorString = ""; auto framebuffer = GetFramebufferState(dev_data, pInfo->framebuffer); if (framebuffer) { -- cgit v1.2.3