Silence warning for MacOS

MacOS tests have been spamming a lot of lines of this warning from SwiftShader, sometimes hiding the actual cause of an issue: ../../third_party/swiftshader/src/Vulkan/VkDeviceMemory.cpp:235 WARNING: VkMemoryAllocateInfo->pNext sType = 1000178000 This CL properly silences this warning. Bug: chromium:1185611 Change-Id: Ic9c84c0d57dc142904626bbb3c8a0af5c3cff40d Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/54008 Presubmit-Ready: Alexis Hétu <sugoi@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com> Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Commit-Queue: Alexis Hétu <sugoi@google.com>
parent 112faf44
...@@ -231,6 +231,10 @@ struct OpaqueFdAllocateInfo ...@@ -231,6 +231,10 @@ struct OpaqueFdAllocateInfo
// "If the pNext chain includes a VkMemoryDedicatedAllocateInfo structure, then that structure // "If the pNext chain includes a VkMemoryDedicatedAllocateInfo structure, then that structure
// includes a handle of the sole buffer or image resource that the memory *can* be bound to." // includes a handle of the sole buffer or image resource that the memory *can* be bound to."
break; break;
case VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT:
// This will be handled at a later point within vk::findTraits() by
// ExternalMemoryHost::AllocateInfo()
break;
default: default:
WARN("VkMemoryAllocateInfo->pNext sType = %s", vk::Stringify(createInfo->sType).c_str()); WARN("VkMemoryAllocateInfo->pNext sType = %s", vk::Stringify(createInfo->sType).c_str());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment