Flutter Impeller
formats_vk_unittests.cc
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "gtest/gtest.h" // IWYU pragma: keep
7 
8 namespace impeller {
9 namespace testing {
10 
11 TEST(FormatsVKTest, DescriptorMapping) {
13  vk::DescriptorType::eCombinedImageSampler);
15  vk::DescriptorType::eUniformBuffer);
17  vk::DescriptorType::eStorageBuffer);
19  vk::DescriptorType::eSampledImage);
21  vk::DescriptorType::eSampler);
23  vk::DescriptorType::eInputAttachment);
24 }
25 
26 } // namespace testing
27 } // namespace impeller
TEST(AllocationSizeTest, CanCreateTypedAllocations)
constexpr vk::DescriptorType ToVKDescriptorType(DescriptorType type)
Definition: formats_vk.h:292