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 @@
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<uint64_t &>(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<uint64_t &>(commandBuffer), lineWidth);
@@ -9461,7 +9461,7 @@
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 @@
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 @@
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).",