remove mock vulkan memory test. (flutter/engine#56367)

This test is flakey despite using the mocked vulkan backend. This likely
indicates that VMA is still performing some real initialization work in
a way that is not consistently passing or failing.

It may not be safe to use VMA with mock vulkan.
This commit is contained in:
Jonah Williams
2024-11-04 19:39:02 -08:00
committed by GitHub
parent b772962ba4
commit fa745a13cf

View File

@@ -73,19 +73,6 @@ TEST(AllocatorVKTest, MemoryTypeSelectionTwoHeap) {
EXPECT_EQ(AllocatorVK::FindMemoryTypeIndex(4, properties), -1);
}
TEST(AllocatorVKTest, DeviceBufferCoherency) {
auto const context = MockVulkanContextBuilder().Build();
auto allocator = context->GetResourceAllocator();
std::shared_ptr<DeviceBuffer> buffer =
allocator->CreateBuffer(DeviceBufferDescriptor{
.storage_mode = StorageMode::kHostVisible,
.size = 1024,
});
EXPECT_TRUE(DeviceBufferVK::Cast(*buffer).IsHostCoherent());
}
#ifdef IMPELLER_DEBUG
TEST(AllocatorVKTest, RecreateSwapchainWhenSizeChanges) {