mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2024-11-23 07:10:23 +00:00
loader: fix log message
This commit is contained in:
parent
f755a87bf8
commit
9c40a28e3e
@ -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!");
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user