// // Copyright 2018 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VulkanFormatTablesTest: // Tests to validate our Vulkan support tables match hardware support. // #include "libANGLE/Context.h" #include "libANGLE/Display.h" #include "libANGLE/angletypes.h" #include "libANGLE/formatutils.h" #include "libANGLE/renderer/vulkan/ContextVk.h" #include "libANGLE/renderer/vulkan/vk_renderer.h" #include "test_utils/ANGLETest.h" #include "test_utils/angle_test_instantiate.h" #include "util/EGLWindow.h" usingnamespaceangle; namespace { class VulkanFormatTablesTest : public ANGLETest<> { … }; struct ParametersToTest { … }; // This test enumerates all GL formats - for each, it queries the Vulkan support for // using it as a texture, filterable, and a render target. It checks this against our // speed-optimized baked tables, and validates they would give the same result. TEST_P(VulkanFormatTablesTest, TestFormatSupport) { … } ANGLE_INSTANTIATE_TEST(…); } // anonymous namespace