blob: fb1d9087f814644e23f0f2c0eb604600b83e1f1a [file] [log] [blame]
/*------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2018 The Khronos Group Inc.
* Copyright (c) 2018 Danylo Piliaiev <danylo.piliaiev@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*//*!
* \file
* \brief Conditional Rendering Tests
*//*--------------------------------------------------------------------*/
#include "vktConditionalTests.hpp"
#include "vktTestGroupUtil.hpp"
#include "vktConditionalDrawTests.hpp"
#include "vktConditionalDispatchTests.hpp"
#include "vktConditionalClearAttachmentTests.hpp"
#include "vktConditionalDrawAndClearTests.hpp"
namespace vkt
{
namespace conditional
{
namespace
{
void createChildren (tcu::TestCaseGroup* group)
{
tcu::TestContext& testCtx = group->getTestContext();
group->addChild(new ConditionalDrawTests(testCtx));
group->addChild(new ConditionalDispatchTests(testCtx));
group->addChild(new ConditionalClearAttachmentTests(testCtx));
group->addChild(new ConditionalRenderingDrawAndClearTests(testCtx));
}
} // anonymous
tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx)
{
return createTestGroup(testCtx, "conditional_rendering", "Conditional Rendering Tests", createChildren);
}
} // conditional
} // vkt