1 /*-------------------------------------------------------------------------
2 * Vulkan Conformance Tests
3 * ------------------------
5 * Copyright (c) 2015 Google Inc.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 *//*--------------------------------------------------------------------*/
24 #include "vktApiTests.hpp"
26 #include "vktTestGroupUtil.hpp"
27 #include "vktApiSmokeTests.hpp"
28 #include "vktApiDeviceInitializationTests.hpp"
29 #include "vktApiDriverPropertiesTests.hpp"
30 #include "vktApiObjectManagementTests.hpp"
31 #include "vktApiBufferMarkerTests.hpp"
32 #include "vktApiBufferTests.hpp"
33 #include "vktApiBufferViewCreateTests.hpp"
34 #include "vktApiBufferViewAccessTests.hpp"
35 #include "vktApiFeatureInfo.hpp"
36 #include "vktApiCommandBuffersTests.hpp"
37 #include "vktApiCopiesAndBlittingTests.hpp"
38 #include "vktApiImageClearingTests.hpp"
39 #include "vktApiFillBufferTests.hpp"
40 #include "vktApiDescriptorPoolTests.hpp"
41 #include "vktApiNullHandleTests.hpp"
42 #include "vktApiGranularityTests.hpp"
43 #include "vktApiGetMemoryCommitment.hpp"
44 #include "vktApiExternalMemoryTests.hpp"
45 #include "vktApiVersionCheck.hpp"
46 #include "vktApiMaintenance3Check.hpp"
47 #include "vktApiDescriptorSetTests.hpp"
48 #include "vktApiPipelineTests.hpp"
49 #include "vktApiMemoryRequirementInvarianceTests.hpp"
50 #include "vktApiToolingInfoTests.hpp"
60 void createBufferViewTests (tcu::TestCaseGroup* bufferViewTests)
62 tcu::TestContext& testCtx = bufferViewTests->getTestContext();
64 bufferViewTests->addChild(createBufferViewCreateTests (testCtx));
65 bufferViewTests->addChild(createBufferViewAccessTests (testCtx));
68 void createApiTests (tcu::TestCaseGroup* apiTests)
70 tcu::TestContext& testCtx = apiTests->getTestContext();
72 apiTests->addChild(createVersionSanityCheckTests (testCtx));
73 apiTests->addChild(createDriverPropertiesTests (testCtx));
74 apiTests->addChild(createSmokeTests (testCtx));
75 apiTests->addChild(api::createFeatureInfoTests (testCtx));
76 apiTests->addChild(createDeviceInitializationTests (testCtx));
77 apiTests->addChild(createObjectManagementTests (testCtx));
78 apiTests->addChild(createBufferTests (testCtx));
79 apiTests->addChild(createBufferMarkerTests (testCtx));
80 apiTests->addChild(createTestGroup (testCtx, "buffer_view", "BufferView tests", createBufferViewTests));
81 apiTests->addChild(createCommandBuffersTests (testCtx));
82 apiTests->addChild(createCopiesAndBlittingTests (testCtx));
83 apiTests->addChild(createImageClearingTests (testCtx));
84 apiTests->addChild(createFillAndUpdateBufferTests (testCtx));
85 apiTests->addChild(createDescriptorPoolTests (testCtx));
86 apiTests->addChild(createNullHandleTests (testCtx));
87 apiTests->addChild(createGranularityQueryTests (testCtx));
88 apiTests->addChild(createMemoryCommitmentTests (testCtx));
89 apiTests->addChild(createExternalMemoryTests (testCtx));
90 apiTests->addChild(createMaintenance3Tests (testCtx));
91 apiTests->addChild(createDescriptorSetTests (testCtx));
92 apiTests->addChild(createPipelineTests (testCtx));
93 apiTests->addChild(createMemoryRequirementInvarianceTests (testCtx));
94 apiTests->addChild(createToolingInfoTests (testCtx));
99 tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
101 return createTestGroup(testCtx, "api", "API Tests", createApiTests);