107c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi/*-------------------------------------------------------------------------
207c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi * Vulkan Conformance Tests
307c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi * ------------------------
407c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi *
507c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi * Copyright (c) 2015 Google Inc.
607c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi *
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
1007c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi *
11978d3d585aa549eb1e729b51e9d85fc6477240f9Pyry Haulos *      http://www.apache.org/licenses/LICENSE-2.0
1207c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi *
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.
1807c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi *
1907c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi *//*!
2007c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi * \file
2107c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi * \brief Memory Tests
2207c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi *//*--------------------------------------------------------------------*/
2307c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi
2407c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi#include "vktMemoryTests.hpp"
2507c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi
2607c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi#include "vktMemoryAllocationTests.hpp"
27b3ffafdcc4ce9ec0f663dbc4cbd008b5a22124b6Mika Isojärvi#include "vktMemoryMappingTests.hpp"
28c37cbf4b35ea2a21344a467634398306072c822fMika Isojärvi#include "vktMemoryPipelineBarrierTests.hpp"
293b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos#include "vktTestGroupUtil.hpp"
3007c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi
3107c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvinamespace vkt
3207c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi{
3307c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvinamespace memory
3407c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi{
3507c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi
363b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulosnamespace
373b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos{
383b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos
393b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulosvoid createChildren (tcu::TestCaseGroup* memoryTests)
4007c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi{
413b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos	tcu::TestContext&	testCtx		= memoryTests->getTestContext();
4207c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi
43c37cbf4b35ea2a21344a467634398306072c822fMika Isojärvi	memoryTests->addChild(createAllocationTests			(testCtx));
44c37cbf4b35ea2a21344a467634398306072c822fMika Isojärvi	memoryTests->addChild(createMappingTests			(testCtx));
45c37cbf4b35ea2a21344a467634398306072c822fMika Isojärvi	memoryTests->addChild(createPipelineBarrierTests	(testCtx));
463b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos}
473b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos
483b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos} // anonymous
4907c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi
503b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulostcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
513b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos{
523b578770ed64f5fe3fc45f79fd79e06a4ea3f156Pyry Haulos	return createTestGroup(testCtx, "memory", "Memory Tests", createChildren);
5307c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi}
5407c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi
5507c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi} // memory
5607c0f13a4289a7c4669f9bfa4d1ae3694d10130dMika Isojärvi} // vkt
57