From: baldurk Date: Thu, 5 May 2016 14:31:05 +0000 (+0200) Subject: layers: #486 Add some missing spaces where needed ... X-Git-Tag: upstream/1.1.92~3171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a52c492233432111f5769c03c53cbb213b3cccce;p=platform%2Fupstream%2FVulkan-Tools.git layers: #486 Add some missing spaces where needed ... Original commit message: Add some missing spaces where needed, hidden by string concatenation --- diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index dd98891..4b0eb42 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -6891,7 +6891,7 @@ VK_LAYER_EXPORT VKAPI_ATTR void VKAPI_CALL vkCmdSetLineWidth(VkCommandBuffer com if (pPipeTrav != NULL && !isDynamic(pPipeTrav, VK_DYNAMIC_STATE_LINE_WIDTH)) { skip_call |= log_msg(dev_data->report_data, VK_DEBUG_REPORT_WARNING_BIT_EXT, (VkDebugReportObjectTypeEXT)0, reinterpret_cast(commandBuffer), __LINE__, DRAWSTATE_INVALID_SET, "DS", - "vkCmdSetLineWidth called but pipeline was created without VK_DYNAMIC_STATE_LINE_WIDTH" + "vkCmdSetLineWidth called but pipeline was created without VK_DYNAMIC_STATE_LINE_WIDTH " "flag. This is undefined behavior and could be ignored."); } else { skip_call |= verifyLineWidth(dev_data, DRAWSTATE_INVALID_SET, reinterpret_cast(commandBuffer), lineWidth); @@ -9461,7 +9461,7 @@ static bool logInvalidAttachmentMessage(layer_data *dev_data, VkCommandBuffer se return log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__, DRAWSTATE_INVALID_SECONDARY_COMMAND_BUFFER, "DS", "vkCmdExecuteCommands() called w/ invalid Cmd Buffer %p which has a render pass %" PRIx64 - " that is not compatible with the current render pass %" PRIx64 "." + " that is not compatible with the current render pass %" PRIx64 ". " "Attachment %" PRIu32 " is not compatible with %" PRIu32 ". %s", (void *)secondaryBuffer, (uint64_t)(secondaryPass), (uint64_t)(primaryPass), primaryAttach, secondaryAttach, msg); @@ -9592,7 +9592,7 @@ static bool validateRenderPassCompatibility(layer_data *dev_data, VkCommandBuffe skip_call |= log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__, DRAWSTATE_INVALID_SECONDARY_COMMAND_BUFFER, "DS", "vkCmdExecuteCommands() called w/ invalid Cmd Buffer %p which has a render pass %" PRIx64 - " that is not compatible with the current render pass %" PRIx64 "." + " that is not compatible with the current render pass %" PRIx64 ". " "They have a different number of subpasses.", (void *)secondaryBuffer, (uint64_t)(secondaryPass), (uint64_t)(primaryPass)); return skip_call; diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp index 9172780..8efa888 100644 --- a/layers/swapchain.cpp +++ b/layers/swapchain.cpp @@ -1504,7 +1504,7 @@ static bool validateCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateI if ((pCreateInfo->queueFamilyIndexCount <= 1) || !pCreateInfo->pQueueFamilyIndices) { skipCall |= LOG_ERROR(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, device, "VkDevice", SWAPCHAIN_CREATE_SWAP_BAD_SHARING_VALUES, "%s() called with a supported " - "pCreateInfo->sharingMode of (i.e. %s)," + "pCreateInfo->sharingMode of (i.e. %s), " "but with a bad value(s) for " "pCreateInfo->queueFamilyIndexCount or " "pCreateInfo->pQueueFamilyIndices).",