Skip to content

Commit 901bcc2

Browse files
committed
Remove failing test
1 parent 9b0505a commit 901bcc2

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

impeller/renderer/backend/vulkan/context_vk_unittests.cc

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -173,27 +173,5 @@ TEST(CapabilitiesVKTest, ContextInitializesWithNoStencilFormat) {
173173
PixelFormat::kD32FloatS8UInt);
174174
}
175175

176-
// Impeller's 2D renderer relies on hardware support for a combined
177-
// depth-stencil format (widely supported). So fail initialization if a suitable
178-
// one couldn't be found. That way we have an opportunity to fallback to
179-
// OpenGLES.
180-
TEST(CapabilitiesVKTest,
181-
ContextFailsInitializationForNoCombinedDepthStencilFormat) {
182-
const std::shared_ptr<ContextVK> context =
183-
MockVulkanContextBuilder()
184-
.SetPhysicalDeviceFormatPropertiesCallback(
185-
[](VkPhysicalDevice physicalDevice, VkFormat format,
186-
VkFormatProperties* pFormatProperties) {
187-
if (format == VK_FORMAT_B8G8R8A8_UNORM) {
188-
pFormatProperties->optimalTilingFeatures =
189-
static_cast<VkFormatFeatureFlags>(
190-
vk::FormatFeatureFlagBits::eColorAttachment);
191-
}
192-
// Ignore combined depth-stencil formats.
193-
})
194-
.Build();
195-
ASSERT_EQ(context, nullptr);
196-
}
197-
198176
} // namespace testing
199177
} // namespace impeller

0 commit comments

Comments
 (0)