loader: fix log message
authorPaperChalice <lgamma@163.com>
Sat, 24 Sep 2022 06:52:56 +0000 (14:52 +0800)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Mon, 26 Sep 2022 17:56:43 +0000 (11:56 -0600)
loader/trampoline.c
tests/loader_regression_tests.cpp

index d65e7b1ec3ac691ce5f2c637a2ee7aa578deede0..12f7755c72f2054b02289c9fa42378a940542617 100644 (file)
@@ -543,8 +543,8 @@ LOADER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkCreateInstance(const VkInstanceCr
             loader_log(
                 ptr_instance, VULKAN_LOADER_ERROR_BIT | VULKAN_LOADER_DRIVER_BIT, 0,
                 "vkCreateInstance: Found drivers that contain devices which support the portability subset, but the "
-                "portability enumeration bit was not set!. Applications that wish to enumerate portability drivers must set the "
-                "VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR bit in the VkInstanceCreateInfo flags and"
+                "portability enumeration bit was not set! Applications that wish to enumerate portability drivers must set the "
+                "VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR bit in the VkInstanceCreateInfo flags and "
                 "enable the VK_KHR_portability_enumeration instance extension.");
         }
         loader_log(ptr_instance, VULKAN_LOADER_ERROR_BIT | VULKAN_LOADER_DRIVER_BIT, 0, "vkCreateInstance: Found no drivers!");
index 32070e38a12a0e90df2b523f067b980fe88256bf..4bf72eb1f057adb8140ececa8f03c7b3e5bb9404 100644 (file)
@@ -3285,8 +3285,8 @@ TEST(SortedPhysicalDevices, DeviceGroupsSortedDisabled) {
 
 const char* portability_driver_warning =
     "vkCreateInstance: Found drivers that contain devices which support the portability subset, but the "
-    "portability enumeration bit was not set!. Applications that wish to enumerate portability drivers must set the "
-    "VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR bit in the VkInstanceCreateInfo flags and"
+    "portability enumeration bit was not set! Applications that wish to enumerate portability drivers must set the "
+    "VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR bit in the VkInstanceCreateInfo flags and "
     "enable the VK_KHR_portability_enumeration instance extension.";
 
 TEST(PortabilityICDConfiguration, PortabilityICDOnly) {