1 /*------------------------------------------------------------------------
2 * Vulkan Conformance Tests
3 * ------------------------
5 * Copyright (c) 2016 The Khronos Group Inc.
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and/or associated documentation files (the
9 * "Materials"), to deal in the Materials without restriction, including
10 * without limitation the rights to use, copy, modify, merge, publish,
11 * distribute, sublicense, and/or sell copies of the Materials, and to
12 * permit persons to whom the Materials are furnished to do so, subject to
13 * the following conditions:
15 * The above copyright notice(s) and this permission notice shall be included
16 * in all copies or substantial portions of the Materials.
18 * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
27 * \file vktSparseResourcesTests.cpp
28 * \brief Sparse Resources Tests
29 *//*--------------------------------------------------------------------*/
31 #include "vktSparseResourcesTests.hpp"
32 #include "vktSparseResourcesBufferSparseBinding.hpp"
33 #include "vktSparseResourcesImageSparseBinding.hpp"
34 #include "vktSparseResourcesBufferSparseResidency.hpp"
35 #include "deUniquePtr.hpp"
42 tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
44 de::MovePtr<tcu::TestCaseGroup> sparseTests (new tcu::TestCaseGroup(testCtx, "sparse_resources", "Sparse Resources Tests"));
46 sparseTests->addChild(createBufferSparseBindingTests(testCtx));
47 sparseTests->addChild(createImageSparseBindingTests(testCtx));
48 sparseTests->addChild(createBufferSparseResidencyTests(testCtx));
50 return sparseTests.release();