Lines Matching defs:group
337 // custom device for each test we share single one for whole group
8856 void addImageToImageSimpleTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
8858 tcu::TestContext& testCtx = group->getTestContext();
8891 group->addChild(new CopyImageToImageTestCase(testCtx, "whole_image", params));
8925 group->addChild(new CopyImageToImageTestCase(testCtx, "whole_image_diff_format", params));
8959 group->addChild(new CopyImageToImageTestCase(testCtx, "partial_image", params));
9040 group->addChild(new CopyImageToImageTestCase(testCtx, testCaseName, params));
9083 group->addChild(new CopyImageToImageTestCase(testCtx, "depth", params));
9124 group->addChild(new CopyImageToImageTestCase(testCtx, "stencil", params));
9134 void addImageToImageAllFormatsColorSrcFormatDstFormatTests (tcu::TestCaseGroup* group, TestParams params)
9159 group->addChild(new CopyImageToImageTestCase(group->getTestContext(), testName, params));
9180 void addImageToImageAllFormatsColorSrcFormatTests (tcu::TestCaseGroup* group, CopyColorTestParams testParams)
9204 addTestGroup(group, getFormatCaseName(dstFormat), addImageToImageAllFormatsColorSrcFormatDstFormatTests, testParams.params);
9735 void addImageToImageAllFormatsColorTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
9747 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "1d_to_1d"));
9798 group->addChild(subGroup.release());
9803 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "1d_to_2d", "1D to 2D copies"));
9855 group->addChild(subGroup.release());
9860 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "1d_to_3d", "1D to 3D copies"));
9915 group->addChild(subGroup.release());
9920 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "2d_to_1d", "2D to 1D copies"));
9972 group->addChild(subGroup.release());
9977 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "2d_to_2d", "2D to 2D copies"));
10028 group->addChild(subGroup.release());
10033 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "2d_to_3d", "2D to 3D copies"));
10085 group->addChild(subGroup.release());
10090 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "3d_to_1d", "3D to 1D copies"));
10145 group->addChild(subGroup.release());
10150 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "3d_to_2d", "3D to 2D copies"));
10205 group->addChild(subGroup.release());
10210 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "3d_to_3d", "3D to 3D copies"));
10261 group->addChild(subGroup.release());
10265 void addImageToImageDimensionsTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
10267 tcu::TestContext& testCtx = group->getTestContext();
10464 group->addChild(imageSizeGroup);
10468 void addImageToImageAllFormatsDepthStencilFormatsTests (tcu::TestCaseGroup* group, TestParams params)
10490 group->addChild(new CopyImageToImageTestCase(group->getTestContext(), testName, params));
10495 void addImageToImageAllFormatsDepthStencilTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
10510 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "1d_to_1d", "1D to 1D copies"));
10581 group->addChild(subGroup.release());
10586 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "1d_to_2d", "1D to 2D copies"));
10658 group->addChild(subGroup.release());
10663 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "1d_to_3d", "1D to 3D copies"));
10738 group->addChild(subGroup.release());
10743 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "2d_to_1d", "2D to 1D copies"));
10846 group->addChild(subGroup.release());
10851 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "2d_to_2d", "2D to 2D copies"));
10953 group->addChild(subGroup.release());
10958 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "2d_to_3d", "2D to 3D copies"));
11061 group->addChild(subGroup.release());
11066 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "3d_to_1d", "3D to 1D copies"));
11141 group->addChild(subGroup.release());
11146 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "3d_to_2d", "3D to 2D copies"));
11221 group->addChild(subGroup.release());
11226 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "3d_to_3d", "3D to 3D copies"));
11297 group->addChild(subGroup.release());
11301 void addImageToImageAllFormatsTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
11303 addTestGroup(group, "color", addImageToImageAllFormatsColorTests, testGroupParams);
11305 addTestGroup(group, "depth_stencil", addImageToImageAllFormatsDepthStencilTests, testGroupParams);
11308 void addImageToImage3dImagesTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
11310 tcu::TestContext& testCtx = group->getTestContext();
11363 group->addChild(new CopyImageToImageTestCase(testCtx, "3d_to_2d_by_slices", params3DTo2D));
11418 group->addChild(new CopyImageToImageTestCase(testCtx, "2d_to_3d_by_layers", params2DTo3D));
11471 group->addChild(new CopyImageToImageTestCase(testCtx, "3d_to_2d_whole", params3DTo2D));
11525 group->addChild(new CopyImageToImageTestCase(testCtx, "2d_to_3d_whole", params2DTo3D));
11586 group->addChild(new CopyImageToImageTestCase(testCtx, "3d_to_2d_regions", params3DTo2D));
11648 group->addChild(new CopyImageToImageTestCase(testCtx, "2d_to_3d_regions", params2DTo3D));
11652 void addImageToImageCubeTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
11654 tcu::TestContext& testCtx = group->getTestContext();
11711 group->addChild(new CopyImageToImageTestCase(testCtx, "cube_to_array_layers", paramsCubeToArray));
11768 group->addChild(new CopyImageToImageTestCase(testCtx, "cube_to_array_whole", paramsCubeToArray));
11826 group->addChild(new CopyImageToImageTestCase(testCtx, "array_to_cube_layers", paramsArrayToCube));
11883 group->addChild(new CopyImageToImageTestCase(testCtx, "array_to_cube_whole", paramsArrayToCube));
11941 group->addChild(new CopyImageToImageTestCase(testCtx, "cube_to_cube_layers", paramsCubeToArray));
11998 group->addChild(new CopyImageToImageTestCase(testCtx, "cube_to_cube_whole", paramsCubeToCube));
12002 void addImageToImageArrayTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
12004 tcu::TestContext& testCtx = group->getTestContext();
12059 group->addChild(new CopyImageToImageTestCase(testCtx, "array_to_array_layers", paramsArrayToArray));
12114 group->addChild(new CopyImageToImageTestCase(testCtx, "array_to_array_whole", paramsArrayToArray));
12171 group->addChild(new CopyImageToImageTestCase(testCtx, "array_to_array_whole_remaining_layers", paramsArrayToArray));
12227 group->addChild(new CopyImageToImageTestCase(testCtx, "array_to_array_partial_remaining_layers", paramsArrayToArray));
12303 group->addChild(new CopyImageToImageMipmapTestCase(testCtx, testName.str(), paramsArrayToArray));
12308 void addImageToImageTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
12310 addTestGroup(group, "simple_tests", addImageToImageSimpleTests, testGroupParams);
12311 addTestGroup(group, "all_formats", addImageToImageAllFormatsTests, testGroupParams);
12312 addTestGroup(group, "3d_images", addImageToImage3dImagesTests, testGroupParams);
12313 addTestGroup(group, "dimensions", addImageToImageDimensionsTests, testGroupParams);
12314 addTestGroup(group, "cube", addImageToImageCubeTests, testGroupParams);
12315 addTestGroup(group, "array", addImageToImageArrayTests, testGroupParams);
12318 void add1dImageToBufferTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
12320 tcu::TestContext& testCtx = group->getTestContext();
12348 group->addChild(new CopyImageToBufferTestCase(testCtx, "tightly_sized_buffer", params));
12378 group->addChild(new CopyImageToBufferTestCase(testCtx, "larger_buffer", params));
12419 group->addChild(new CopyImageToBufferTestCase(testCtx, "array_tightly_sized_buffer", params));
12461 group->addChild(new CopyImageToBufferTestCase(testCtx, "array_larger_buffer", params));
12505 group->addChild(new CopyImageToBufferTestCase(testCtx, "array_all_remaining_layers", params));
12549 group->addChild(new CopyImageToBufferTestCase(testCtx, "array_not_all_remaining_layers", params));
12553 void add2dImageToBufferTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
12555 tcu::TestContext& testCtx = group->getTestContext();
12583 group->addChild(new CopyImageToBufferTestCase(testCtx, "whole", params));
12612 group->addChild(new CopyImageToBufferTestCase(testCtx, "buffer_offset", params));
12642 group->addChild(new CopyImageToBufferTestCase(testCtx, "buffer_offset_relaxed", params));
12684 group->addChild(new CopyImageToBufferTestCase(testCtx, "regions", params));
12713 group->addChild(new CopyImageToBufferTestCase(testCtx, "tightly_sized_buffer", params));
12743 group->addChild(new CopyImageToBufferTestCase(testCtx, "larger_buffer", params));
12772 group->addChild(new CopyImageToBufferTestCase(testCtx, "tightly_sized_buffer_offset", params));
12812 group->addChild(new CopyImageToBufferTestCase(testCtx, "array", params));
12853 group->addChild(new CopyImageToBufferTestCase(testCtx, "array_larger_buffer", params));
12893 group->addChild(new CopyImageToBufferTestCase(testCtx, "array_tightly_sized_buffer", params));
12937 group->addChild(new CopyImageToBufferTestCase(testCtx, "array_all_remaining_layers", params));
12981 group->addChild(new CopyImageToBufferTestCase(testCtx, "array_not_all_remaining_layers", params));
13023 group->addChild(new CopyCompressedImageToBufferTestCase(testCtx, getCaseName(*format, params.src.image.extent, numLayers, "universal"), params));
13025 group->addChild(new CopyCompressedImageToBufferTestCase(testCtx, getCaseName(*format, params.src.image.extent, numLayers, "compute"), params));
13027 group->addChild(new CopyCompressedImageToBufferTestCase(testCtx, getCaseName(*format, params.src.image.extent, numLayers, "transfer"), params));
13034 void addBufferToDepthStencilTests(tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
13036 tcu::TestContext& testCtx = group->getTestContext();
13160 group->addChild(new CopyBufferToDepthStencilTestCase(testCtx, testName + "_DS", params));
13164 group->addChild(new CopyBufferToDepthStencilTestCase(testCtx, testName + "_D_S", params));
13170 group->addChild(new CopyBufferToDepthStencilTestCase(testCtx, testName + "_S_D", params));
13173 group->addChild(new CopyBufferToDepthStencilTestCase(testCtx, testName + "_SD", params));
13181 group->addChild(new CopyBufferToDepthStencilTestCase(testCtx, testName + "_S", params));
13189 group->addChild(new CopyBufferToDepthStencilTestCase(testCtx, testName + "_D", params));
13194 void add1dBufferToImageTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
13196 tcu::TestContext& testCtx = group->getTestContext();
13224 group->addChild(new CopyBufferToImageTestCase(testCtx, "tightly_sized_buffer", params));
13254 group->addChild(new CopyBufferToImageTestCase(testCtx, "larger_buffer", params));
13295 group->addChild(new CopyBufferToImageTestCase(testCtx, "array_tightly_sized_buffer", params));
13339 group->addChild(new CopyBufferToImageTestCase(testCtx, "array_all_remaining_layers", params));
13383 group->addChild(new CopyBufferToImageTestCase(testCtx, "array_not_all_remaining_layers", params));
13425 group->addChild(new CopyBufferToImageTestCase(testCtx, "array_larger_buffer", params));
13429 void add2dBufferToImageTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
13431 tcu::TestContext& testCtx = group->getTestContext();
13459 group->addChild(new CopyBufferToImageTestCase(testCtx, "whole", params));
13491 group->addChild(new CopyBufferToImageTestCase(testCtx, "regions", params));
13520 group->addChild(new CopyBufferToImageTestCase(testCtx, "buffer_offset", params));
13550 group->addChild(new CopyBufferToImageTestCase(testCtx, "buffer_offset_relaxed", params));
13579 group->addChild(new CopyBufferToImageTestCase(testCtx, "tightly_sized_buffer", params));
13609 group->addChild(new CopyBufferToImageTestCase(testCtx, "larger_buffer", params));
13638 group->addChild(new CopyBufferToImageTestCase(testCtx, "tightly_sized_buffer_offset", params));
13678 group->addChild(new CopyBufferToImageTestCase(testCtx, "array", params));
13719 group->addChild(new CopyBufferToImageTestCase(testCtx, "array_larger_buffer", params));
13759 group->addChild(new CopyBufferToImageTestCase(testCtx, "array_tightly_sized_buffer", params));
13803 group->addChild(new CopyBufferToImageTestCase(testCtx, "array_all_remaining_layers", params));
13847 group->addChild(new CopyBufferToImageTestCase(testCtx, "array_not_all_remaining_layers", params));
13851 void addBufferToBufferTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
13853 tcu::TestContext& testCtx = group->getTestContext();
13874 group->addChild(new BufferToBufferTestCase(testCtx, "whole", params));
13897 group->addChild(new BufferToBufferTestCase(testCtx, "partial", params));
13924 group->addChild(new BufferToBufferTestCase(testCtx, "regions", params));
13950 group->addChild(new BufferToBufferTestCase(testCtx, "unaligned_regions", params));
13954 void addBlittingImageSimpleTests (tcu::TestCaseGroup* group, TestParams& params)
13956 tcu::TestContext& testCtx = group->getTestContext();
13963 group->addChild(new BlitImageTestCase(testCtx, "nearest", params));
13966 group->addChild(new BlitImageTestCase(testCtx, getFormatCaseName(params.dst.image.format) + "_nearest", params));
13969 group->addChild(new BlitImageTestCase(testCtx, getFormatCaseName(params.dst.image.format) + "_nearest", params));
13977 group->addChild(new BlitImageTestCase(testCtx, "linear", params));
13980 group->addChild(new BlitImageTestCase(testCtx, getFormatCaseName(params.dst.image.format) + "_linear", params));
13983 group->addChild(new BlitImageTestCase(testCtx, getFormatCaseName(params.dst.image.format) + "_linear", params));
13993 group->addChild(new BlitImageTestCase(testCtx, "cubic", params));
13996 group->addChild(new BlitImageTestCase(testCtx, getFormatCaseName(params.dst.image.format) + "_cubic", params));
13999 group->addChild(new BlitImageTestCase(testCtx, getFormatCaseName(params.dst.image.format) + "_cubic", params));
14003 void addBlittingImageSimpleWholeTests (tcu::TestCaseGroup* group, TestParams params)
14033 addBlittingImageSimpleTests(group, params);
14036 void addBlittingImageArrayTests (tcu::TestCaseGroup* group, TestParams params)
14040 tcu::TestContext& testCtx = group->getTestContext();
14083 group->addChild(new BlitImageTestCase(testCtx, "all_remaining_layers", params));
14127 group->addChild(new BlitImageTestCase(testCtx, "not_all_remaining_layers", params));
14131 void addBlittingImageSimpleMirrorXYTests (tcu::TestCaseGroup* group, TestParams params)
14161 addBlittingImageSimpleTests(group, params);
14164 void addBlittingImageSimpleMirrorXTests (tcu::TestCaseGroup* group, TestParams params)
14194 addBlittingImageSimpleTests(group, params);
14197 void addBlittingImageSimpleMirrorYTests (tcu::TestCaseGroup* group, TestParams params)
14227 addBlittingImageSimpleTests(group, params);
14230 void addBlittingImageSimpleMirrorZTests (tcu::TestCaseGroup* group, TestParams params)
14260 addBlittingImageSimpleTests(group, params);
14263 void addBlittingImageSimpleMirrorSubregionsTests (tcu::TestCaseGroup* group, TestParams params)
14359 addBlittingImageSimpleTests(group, params);
14362 void addBlittingImageSimpleScalingWhole1Tests (tcu::TestCaseGroup* group, TestParams params)
14393 addBlittingImageSimpleTests(group, params);
14396 void addBlittingImageSimpleScalingWhole2Tests (tcu::TestCaseGroup* group, TestParams params)
14427 addBlittingImageSimpleTests(group, params);
14430 void addBlittingImageSimpleScalingAndOffsetTests (tcu::TestCaseGroup* group, TestParams params)
14462 addBlittingImageSimpleTests(group, params);
14465 void addBlittingImageSimpleWithoutScalingPartialTests (tcu::TestCaseGroup* group, TestParams params)
14501 addBlittingImageSimpleTests(group, params);
14504 void addBlittingImageSimpleTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
14516 addTestGroup(group, "whole", addBlittingImageSimpleWholeTests, params);
14517 addTestGroup(group, "array", addBlittingImageArrayTests, params);
14518 addTestGroup(group, "mirror_xy", addBlittingImageSimpleMirrorXYTests, params);
14519 addTestGroup(group, "mirror_x", addBlittingImageSimpleMirrorXTests, params);
14520 addTestGroup(group, "mirror_y", addBlittingImageSimpleMirrorYTests, params);
14521 addTestGroup(group, "mirror_subregions", addBlittingImageSimpleMirrorSubregionsTests, params);
14522 addTestGroup(group, "scaling_whole1", addBlittingImageSimpleScalingWhole1Tests, params);
14523 addTestGroup(group, "scaling_whole2", addBlittingImageSimpleScalingWhole2Tests, params);
14524 addTestGroup(group, "scaling_and_offset", addBlittingImageSimpleScalingAndOffsetTests, params);
14525 addTestGroup(group, "without_scaling_partial", addBlittingImageSimpleWithoutScalingPartialTests, params);
14529 addTestGroup(group, "whole_3d", addBlittingImageSimpleWholeTests, params);
14530 addTestGroup(group, "mirror_xy_3d", addBlittingImageSimpleMirrorXYTests, params);
14531 addTestGroup(group, "mirror_x_3d", addBlittingImageSimpleMirrorXTests, params);
14532 addTestGroup(group, "mirror_y_3d", addBlittingImageSimpleMirrorYTests, params);
14533 addTestGroup(group, "mirror_z_3d", addBlittingImageSimpleMirrorZTests, params);
14534 addTestGroup(group, "mirror_subregions_3d", addBlittingImageSimpleMirrorSubregionsTests, params);
14535 addTestGroup(group, "scaling_whole1_3d", addBlittingImageSimpleScalingWhole1Tests, params);
14536 addTestGroup(group, "scaling_whole2_3d", addBlittingImageSimpleScalingWhole2Tests, params);
14537 addTestGroup(group, "scaling_and_offset_3d", addBlittingImageSimpleScalingAndOffsetTests, params);
14538 addTestGroup(group, "without_scaling_partial_3d", addBlittingImageSimpleWithoutScalingPartialTests, params);
14644 void addBlittingImageAllFormatsColorSrcFormatDstFormatTests (tcu::TestCaseGroup* group, BlitColorTestParams testParams)
14646 tcu::TestContext& testCtx = group->getTestContext();
14705 group->addChild(new BlitImageTestCase(testCtx, testName + "_nearest", testParams.params));
14710 group->addChild(new BlitImageTestCase(testCtx, testName + "_linear", testParams.params));
14716 group->addChild(new BlitImageTestCase(testCtx, testName + "_cubic", testParams.params));
14740 group->addChild(new BlitImageTestCase(testCtx, testName + "_linear_stripes_" + modeList[i].name, otherParams.params));
14743 group->addChild(new BlitImageTestCase(testCtx, testName + "_nearest_stripes_" + modeList[i].name, otherParams.params));
14752 void addBlittingImageAllFormatsColorSrcFormatTests (tcu::TestCaseGroup* group, BlitColorTestParams testParams)
14767 addTestGroup(group, getFormatCaseName(testParams.params.dst.image.format), addBlittingImageAllFormatsColorSrcFormatDstFormatTests, testParams);
14778 addTestGroup(group, getFormatCaseName(srcFormat), addBlittingImageAllFormatsColorSrcFormatDstFormatTests, testParams);
14910 void addBufferToImageTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
14912 addTestGroup(group, "1d_images", add1dBufferToImageTests, testGroupParams);
14913 addTestGroup(group, "2d_images", add2dBufferToImageTests, testGroupParams);
14916 void addImageToBufferTests (tcu::TestCaseGroup* group, TestGroupParamsPtr testGroupParams)
14918 addTestGroup(group, "1d_images", add1dImageToBufferTests, testGroupParams);
14919 addTestGroup(group, "2d_images", add2dImageToBufferTests, testGroupParams);
14922 void addBlittingImageAllFormatsColorTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
14949 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "2d", "2D blitting tests"));
15008 group->addChild(subGroup.release());
15013 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "1d", "1D blitting tests"));
15089 group->addChild(subGroup.release());
15094 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "3d", "3D blitting tests"));
15170 group->addChild(subGroup.release());
15174 void addBlittingImageAllFormatsDepthStencilFormatsTests (tcu::TestCaseGroup* group, TestParams params)
15199 group->addChild(new BlitImageTestCase(group->getTestContext(), testName + "_nearest", params));
15204 void addBlittingImageAllFormatsDepthStencilTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
15223 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "2d", "2D blitting tests"));
15334 group->addChild(subGroup.release());
15339 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "1d", "1D blitting tests"));
15450 group->addChild(subGroup.release());
15455 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "3d", "3D blitting tests"));
15566 group->addChild(subGroup.release());
15570 void addBlittingImageAllFormatsMipmapFormatTests (tcu::TestCaseGroup* group, BlitColorTestParams testParams)
15572 tcu::TestContext& testCtx = group->getTestContext();
15595 group->addChild(new BlitMipmapTestCase(testCtx, testName + "_nearest", testParams.params));
15600 group->addChild(new BlitMipmapTestCase(testCtx, testName + "_linear", testParams.params));
15606 group->addChild(new BlitMipmapTestCase(testCtx, testName + "_cubic", testParams.params));
15612 void addBlittingImageAllFormatsBaseLevelMipmapTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
15683 de::MovePtr<tcu::TestCaseGroup> layerCountGroup (new tcu::TestCaseGroup(group->getTestContext(), layerGroupName.c_str(), layerGroupDesc.c_str()));
15717 group->addChild(layerCountGroup.release());
15721 void addBlittingImageAllFormatsPreviousLevelMipmapTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
15795 de::MovePtr<tcu::TestCaseGroup> layerCountGroup (new tcu::TestCaseGroup(group->getTestContext(), layerGroupName.c_str(), layerGroupDesc.c_str()));
15829 group->addChild(layerCountGroup.release());
15843 de::MovePtr<tcu::TestCaseGroup> barrierCountGroup(new tcu::TestCaseGroup(group->getTestContext(), barrierGroupName.c_str(), barrierGroupDesc.c_str()));
15872 group->addChild(barrierCountGroup.release());
15878 void addBlittingImageAllFormatsMipmapTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
15880 addTestGroup(group, "from_base_level", addBlittingImageAllFormatsBaseLevelMipmapTests, allocationKind, extensionFlags);
15881 addTestGroup(group, "from_previous_level", addBlittingImageAllFormatsPreviousLevelMipmapTests, allocationKind, extensionFlags);
15884 void addBlittingImageAllFormatsTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
15886 addTestGroup(group, "color", addBlittingImageAllFormatsColorTests, allocationKind, extensionFlags);
15887 addTestGroup(group, "depth_stencil", addBlittingImageAllFormatsDepthStencilTests, allocationKind, extensionFlags);
15888 addTestGroup(group, "generate_mipmaps", addBlittingImageAllFormatsMipmapTests, allocationKind, extensionFlags);
15891 void addBlittingImageTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
15893 addTestGroup(group, "simple_tests", addBlittingImageSimpleTests, allocationKind, extensionFlags);
15894 addTestGroup(group, "all_formats", addBlittingImageAllFormatsTests, allocationKind, extensionFlags);
15908 void addResolveImageWholeTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
15950 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]), params));
15953 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_bind_offset", params));
15958 void addResolveImagePartialTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16000 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]), params));
16003 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_bind_offset", params));
16008 void addResolveImageWithRegionsTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16054 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]), params));
16058 void addResolveImageWholeCopyBeforeResolvingTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16101 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]), params, COPY_MS_IMAGE_TO_MS_IMAGE));
16104 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_bind_offset", params, COPY_MS_IMAGE_TO_MS_IMAGE));
16109 void addComputeAndTransferQueueTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16111 de::MovePtr<tcu::TestCaseGroup> computeGroup (new tcu::TestCaseGroup(group->getTestContext(), "whole_copy_before_resolving_compute", "Resolve from image to image using compute queue (whole copy before resolving)"));
16112 de::MovePtr<tcu::TestCaseGroup> transferGroup (new tcu::TestCaseGroup(group->getTestContext(), "whole_copy_before_resolving_transfer", "Resolve from image to image using compute queue (whole copy before resolving)"));
16154 computeGroup->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(sample), params, COPY_MS_IMAGE_TO_MS_IMAGE_COMPUTE));
16155 transferGroup->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(sample), params, COPY_MS_IMAGE_TO_MS_IMAGE_TRANSFER));
16158 group->addChild(computeGroup.release());
16159 group->addChild(transferGroup.release());
16162 void addResolveImageWholeCopyWithoutCabBeforeResolvingTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16205 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]), params, COPY_MS_IMAGE_TO_MS_IMAGE_NO_CAB));
16208 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_bind_offset", params, COPY_MS_IMAGE_TO_MS_IMAGE_NO_CAB));
16213 void addResolveImageWholeCopyDiffLayoutsBeforeResolvingTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16275 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), testName, params, COPY_MS_IMAGE_TO_MS_IMAGE));
16278 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), testName + "_bind_offset", params, COPY_MS_IMAGE_TO_MS_IMAGE));
16283 void addResolveImageLayerCopyBeforeResolvingTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16329 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]), params, COPY_MS_IMAGE_LAYER_TO_MS_IMAGE));
16332 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_bind_offset", params, COPY_MS_IMAGE_LAYER_TO_MS_IMAGE));
16337 void addResolveCopyImageWithRegionsTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16409 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]), params, COPY_MS_IMAGE_TO_MS_IMAGE_MULTIREGION));
16412 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_bind_offset", params, COPY_MS_IMAGE_TO_MS_IMAGE_MULTIREGION));
16417 void addResolveImageWholeArrayImageTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16462 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]), params, COPY_MS_IMAGE_TO_ARRAY_MS_IMAGE));
16465 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_bind_offset", params, COPY_MS_IMAGE_TO_ARRAY_MS_IMAGE));
16470 void addResolveImageWholeArrayImageSingleRegionTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16512 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]), params, COPY_MS_IMAGE_TO_ARRAY_MS_IMAGE));
16515 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_bind_offset", params, COPY_MS_IMAGE_TO_ARRAY_MS_IMAGE));
16562 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_all_remaining_layers", params, COPY_MS_IMAGE_TO_ARRAY_MS_IMAGE));
16565 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_all_remaining_layers_bind_offset", params, COPY_MS_IMAGE_TO_ARRAY_MS_IMAGE));
16612 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_not_all_remaining_layers", params, COPY_MS_IMAGE_TO_ARRAY_MS_IMAGE));
16615 group->addChild(new ResolveImageToImageTestCase(group->getTestContext(), getSampleCountCaseName(samples[samplesIndex]) + "_not_all_remaining_layers_bind_offset", params, COPY_MS_IMAGE_TO_ARRAY_MS_IMAGE));
16621 void addResolveImageDiffImageSizeTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16623 tcu::TestContext& testCtx = group->getTestContext();
16675 group->addChild(new ResolveImageToImageTestCase(testCtx, testName.str(), params));
16690 group->addChild(new ResolveImageToImageTestCase(testCtx, testName.str(), params));
16693 group->addChild(new ResolveImageToImageTestCase(testCtx, testName.str() + "_bind_offset", params));
16699 void addDepthStencilCopyMSAATest (tcu::TestCaseGroup* group, DepthStencilMSAA::TestParameters testCreateParams)
16747 group->addChild(new DepthStencilMSAATestCase(group->getTestContext(), testNameBase + "D_" + getSampleCountCaseName(sample), testCreateParams));
16750 group->addChild(new DepthStencilMSAATestCase(group->getTestContext(), testNameBase + "D_" + getSampleCountCaseName(sample) + "_bind_offset", testCreateParams));
16762 group->addChild(new DepthStencilMSAATestCase(group->getTestContext(), testNameBase + "S_" + getSampleCountCaseName(sample), testCreateParams));
16765 group->addChild(new DepthStencilMSAATestCase(group->getTestContext(), testNameBase + "S_" + getSampleCountCaseName(sample) + "_bind_offset", testCreateParams));
16778 void addDepthStencilCopyMSAATestGroup (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16786 addTestGroup(group, "whole", addDepthStencilCopyMSAATest, testParams);
16789 addTestGroup(group, "partial", addDepthStencilCopyMSAATest, testParams);
16792 addTestGroup(group, "array_to_array", addDepthStencilCopyMSAATest, testParams);
16795 void addBufferCopyOffsetTests (tcu::TestCaseGroup* group)
16797 de::MovePtr<tcu::TestCaseGroup> subGroup(new tcu::TestCaseGroup(group->getTestContext(), "buffer_to_buffer_with_offset", "Copy from buffer to buffer using different offsets in the source and destination buffers"));
16806 group->addChild(subGroup.release());
16809 void addResolveImageTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16811 addTestGroup(group, "whole", addResolveImageWholeTests, allocationKind, extensionFlags);
16812 addTestGroup(group, "partial", addResolveImagePartialTests, allocationKind, extensionFlags);
16813 addTestGroup(group, "with_regions", addResolveImageWithRegionsTests, allocationKind, extensionFlags);
16814 addTestGroup(group, "whole_copy_before_resolving", addResolveImageWholeCopyBeforeResolvingTests, allocationKind, extensionFlags);
16815 addTestGroup(group, "whole_copy_before_resolving_no_cab", addResolveImageWholeCopyWithoutCabBeforeResolvingTests, allocationKind, extensionFlags);
16816 addComputeAndTransferQueueTests(group, allocationKind, extensionFlags);
16817 addTestGroup(group, "diff_layout_copy_before_resolving", addResolveImageWholeCopyDiffLayoutsBeforeResolvingTests, allocationKind, extensionFlags);
16818 addTestGroup(group, "layer_copy_before_resolving", addResolveImageLayerCopyBeforeResolvingTests, allocationKind, extensionFlags);
16819 addTestGroup(group, "copy_with_regions_before_resolving", addResolveCopyImageWithRegionsTests, allocationKind, extensionFlags);
16820 addTestGroup(group, "whole_array_image", addResolveImageWholeArrayImageTests, allocationKind, extensionFlags);
16821 addTestGroup(group, "whole_array_image_one_region", addResolveImageWholeArrayImageSingleRegionTests, allocationKind, extensionFlags);
16822 addTestGroup(group, "diff_image_size", addResolveImageDiffImageSizeTests, allocationKind, extensionFlags);
16825 void addCopiesAndBlittingTests (tcu::TestCaseGroup* group, AllocationKind allocationKind, deUint32 extensionFlags)
16834 addTestGroup(group, "image_to_image", addImageToImageTests, universalGroupParams);
16835 addTestGroup(group, "image_to_buffer", addImageToBufferTests, universalGroupParams);
16836 addTestGroup(group, "buffer_to_image", addBufferToImageTests, universalGroupParams);
16837 addTestGroup(group, "buffer_to_depthstencil", addBufferToDepthStencilTests, allocationKind, extensionFlags);
16838 addTestGroup(group, "buffer_to_buffer", addBufferToBufferTests, universalGroupParams);
16839 addTestGroup(group, "blit_image", addBlittingImageTests, allocationKind, extensionFlags);
16840 addTestGroup(group, "resolve_image", addResolveImageTests, allocationKind, extensionFlags);
16841 addTestGroup(group, "depth_stencil_msaa_copy", addDepthStencilCopyMSAATestGroup, allocationKind, extensionFlags);
16851 addTestGroup(group, "image_to_image_transfer_queue", addImageToImageTests, transferGroupParams);
16852 addTestGroup(group, "image_to_buffer_transfer_queue", addImageToBufferTests, transferGroupParams);
16853 addTestGroup(group, "buffer_to_image_transfer_queue", addBufferToImageTests, transferGroupParams);
16854 addTestGroup(group, "buffer_to_buffer_transfer_queue", addBufferToBufferTests, transferGroupParams);
16858 void addCoreCopiesAndBlittingTests(tcu::TestCaseGroup* group)
16861 addCopiesAndBlittingTests(group, ALLOCATION_KIND_SUBALLOCATED, extensionFlags);
16862 addBufferCopyOffsetTests(group);
16866 void addDedicatedAllocationCopiesAndBlittingTests (tcu::TestCaseGroup* group)
16869 addCopiesAndBlittingTests(group, ALLOCATION_KIND_DEDICATED, extensionFlags);
16872 void addExtensionCopiesAndBlittingTests(tcu::TestCaseGroup* group)
16876 addCopiesAndBlittingTests(group, ALLOCATION_KIND_DEDICATED, extensionFlags);