112edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos/*------------------------------------------------------------------------- 2846cc3ce8e721a972ef38c44e24da49ea96110caPyry Haulos * Vulkan Conformance Tests 3846cc3ce8e721a972ef38c44e24da49ea96110caPyry Haulos * ------------------------ 412edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos * 5846cc3ce8e721a972ef38c44e24da49ea96110caPyry Haulos * Copyright (c) 2015 Google Inc. 612edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos * 7978d3d585aa549eb1e729b51e9d85fc6477240f9Pyry Haulos * Licensed under the Apache License, Version 2.0 (the "License"); 8978d3d585aa549eb1e729b51e9d85fc6477240f9Pyry Haulos * you may not use this file except in compliance with the License. 9978d3d585aa549eb1e729b51e9d85fc6477240f9Pyry Haulos * You may obtain a copy of the License at 1012edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos * 11978d3d585aa549eb1e729b51e9d85fc6477240f9Pyry Haulos * http://www.apache.org/licenses/LICENSE-2.0 1212edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos * 13978d3d585aa549eb1e729b51e9d85fc6477240f9Pyry Haulos * Unless required by applicable law or agreed to in writing, software 14978d3d585aa549eb1e729b51e9d85fc6477240f9Pyry Haulos * distributed under the License is distributed on an "AS IS" BASIS, 15978d3d585aa549eb1e729b51e9d85fc6477240f9Pyry Haulos * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16978d3d585aa549eb1e729b51e9d85fc6477240f9Pyry Haulos * See the License for the specific language governing permissions and 17978d3d585aa549eb1e729b51e9d85fc6477240f9Pyry Haulos * limitations under the License. 1812edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos * 1912edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos *//*! 2012edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos * \file 2112edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos * \brief API Tests 2212edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos *//*--------------------------------------------------------------------*/ 2312edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos 2412edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos#include "vktApiTests.hpp" 2512edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos 263b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos#include "vktTestGroupUtil.hpp" 2734823916fd57e1694b2af8ed159811ca9bd40958Pyry Haulos#include "vktApiSmokeTests.hpp" 2834823916fd57e1694b2af8ed159811ca9bd40958Pyry Haulos#include "vktApiDeviceInitializationTests.hpp" 29bd092c3a852c029f94f4dfb751448955ea41f67dPyry Haulos#include "vktApiObjectManagementTests.hpp" 3013086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulos#include "vktApiBufferTests.hpp" 3113086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulos#include "vktApiBufferViewCreateTests.hpp" 3213086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulos#include "vktApiBufferViewAccessTests.hpp" 332cee520ae710ca28c500e5c510e114096fc924bdDavid Sodman#include "vktApiFeatureInfo.hpp" 347a598c95f3ecf8a209e733b704c51ea87db12c53Piotr Łebski#include "vktApiCommandBuffersTests.hpp" 35e87f3e4a39665049841d53796eb7c4aef420426fKristof Kosztyo#include "vktApiCopiesAndBlittingTests.hpp" 3634823916fd57e1694b2af8ed159811ca9bd40958Pyry Haulos 3712edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulosnamespace vkt 3812edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos{ 3912edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulosnamespace api 4012edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos{ 4112edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos 4213086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulosnamespace 4313086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulos{ 4413086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulos 453b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulosvoid createBufferViewTests (tcu::TestCaseGroup* bufferViewTests) 4613086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulos{ 473b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos tcu::TestContext& testCtx = bufferViewTests->getTestContext(); 4813086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulos 4913086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulos bufferViewTests->addChild(createBufferViewCreateTests (testCtx)); 5013086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulos bufferViewTests->addChild(createBufferViewAccessTests (testCtx)); 5113086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulos} 5213086ecc37fec225c6b7ac7980b86255c862cc81Pyry Haulos 533b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulosvoid createApiTests (tcu::TestCaseGroup* apiTests) 5412edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos{ 553b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos tcu::TestContext& testCtx = apiTests->getTestContext(); 5612edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos 5734823916fd57e1694b2af8ed159811ca9bd40958Pyry Haulos apiTests->addChild(createSmokeTests (testCtx)); 582cee520ae710ca28c500e5c510e114096fc924bdDavid Sodman apiTests->addChild(api::createFeatureInfoTests (testCtx)); 5934823916fd57e1694b2af8ed159811ca9bd40958Pyry Haulos apiTests->addChild(createDeviceInitializationTests (testCtx)); 60bd092c3a852c029f94f4dfb751448955ea41f67dPyry Haulos apiTests->addChild(createObjectManagementTests (testCtx)); 61e87f3e4a39665049841d53796eb7c4aef420426fKristof Kosztyo apiTests->addChild(createBufferTests (testCtx)); 623b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos apiTests->addChild(createTestGroup (testCtx, "buffer_view", "BufferView tests", createBufferViewTests)); 637a598c95f3ecf8a209e733b704c51ea87db12c53Piotr Łebski apiTests->addChild(createCommandBuffersTests (testCtx)); 64e87f3e4a39665049841d53796eb7c4aef420426fKristof Kosztyo apiTests->addChild(createCopiesAndBlittingTests (testCtx)); 653b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos} 663b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos 673b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos} // anonymous 68e87f3e4a39665049841d53796eb7c4aef420426fKristof Kosztyo 693b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulostcu::TestCaseGroup* createTests (tcu::TestContext& testCtx) 703b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos{ 713b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos return createTestGroup(testCtx, "api", "API Tests", createApiTests); 7212edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos} 7312edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos 7412edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos} // api 7512edbd9c94d5380368146b99cfdf24b811c5f46bPyry Haulos} // vkt 76