1 /*------------------------------------------------------------------------- 2 * Vulkan Conformance Tests 3 * ------------------------ 4 * 5 * Copyright (c) 2017 Google Inc. 6 * 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 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 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. 18 * 19 *//*! 20 * \file 21 * \brief YCbCr Conversion Tests 22 *//*--------------------------------------------------------------------*/ 23 24 #include "vktYCbCrTests.hpp" 25 #include "vktTestGroupUtil.hpp" 26 #include "vktYCbCrFormatTests.hpp" 27 #include "vktYCbCrFilteringTests.hpp" 28 #include "vktYCbCrViewTests.hpp" 29 #include "vktYCbCrImageQueryTests.hpp" 30 #include "vktYCbCrConversionTests.hpp" 31 #include "vktYCbCrCopyTests.hpp" 32 #include "vktYCbCrStorageImageWriteTests.hpp" 33 34 namespace vkt 35 { 36 namespace ycbcr 37 { 38 39 namespace 40 { 41 populateTestGroup(tcu::TestCaseGroup * ycbcrTests)42void populateTestGroup (tcu::TestCaseGroup* ycbcrTests) 43 { 44 tcu::TestContext& testCtx = ycbcrTests->getTestContext(); 45 46 ycbcrTests->addChild(createFormatTests(testCtx)); 47 ycbcrTests->addChild(createFilteringTests(testCtx)); 48 ycbcrTests->addChild(createViewTests(testCtx)); 49 ycbcrTests->addChild(createImageQueryTests(testCtx)); 50 ycbcrTests->addChild(createConversionTests(testCtx)); 51 ycbcrTests->addChild(createCopyTests(testCtx)); 52 ycbcrTests->addChild(createDimensionsCopyTests(testCtx)); 53 ycbcrTests->addChild(createStorageImageWriteTests(testCtx)); 54 } 55 56 } // anonymous 57 createTests(tcu::TestContext & testCtx)58tcu::TestCaseGroup* createTests (tcu::TestContext& testCtx) 59 { 60 return createTestGroup(testCtx, "ycbcr", "YCbCr Conversion Tests", populateTestGroup); 61 } 62 63 } // ycbcr 64 } // vkt 65