Enable sliced 3D ASTC cases in pipeline.{image,image_view,sampler}
authorPyry Haulos <phaulos@google.com>
Thu, 21 Jan 2016 22:15:24 +0000 (14:15 -0800)
committerPyry Haulos <phaulos@google.com>
Fri, 22 Jan 2016 21:44:17 +0000 (13:44 -0800)
Support for sliced 3D ASTC textures is optional.

external/vulkancts/modules/vulkan/pipeline/vktPipelineImageTests.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineImageViewTests.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineSamplerTests.cpp

index af592c5..6fd422b 100644 (file)
@@ -568,10 +568,6 @@ tcu::TestCaseGroup* createImageTests (tcu::TestContext& testCtx)
                                // Do not use compressed formats with 1D and 1D array textures.
                                if (viewType == VK_IMAGE_VIEW_TYPE_1D || viewType == VK_IMAGE_VIEW_TYPE_1D_ARRAY)
                                        break;
-
-                               // 3D ASTC textures are not supported.
-                               if (tcu::isAstcFormat(mapVkCompressedFormat(format)) && viewType == VK_IMAGE_VIEW_TYPE_3D)
-                                       break;
                        }
 
                        de::MovePtr<tcu::TestCaseGroup> formatGroup     (new tcu::TestCaseGroup(testCtx,
index da35e78..600adba 100644 (file)
@@ -778,10 +778,6 @@ tcu::TestCaseGroup* createImageViewTests (tcu::TestContext& testCtx)
                                // Do not use compressed formats with 1D and 1D array textures.
                                if (viewType == VK_IMAGE_VIEW_TYPE_1D || viewType == VK_IMAGE_VIEW_TYPE_1D_ARRAY)
                                        break;
-
-                               // 3D ASTC textures are not supported.
-                               if (tcu::isAstcFormat(mapVkCompressedFormat(format)) && viewType == VK_IMAGE_VIEW_TYPE_3D)
-                                       break;
                        }
 
                        de::MovePtr<tcu::TestCaseGroup> formatGroup     (new tcu::TestCaseGroup(testCtx,
index 9a0aa14..de60cef 100644 (file)
@@ -882,10 +882,6 @@ tcu::TestCaseGroup* createSamplerTests (tcu::TestContext& testCtx)
                                // Do not use compressed formats with 1D and 1D array textures.
                                if (viewType == VK_IMAGE_VIEW_TYPE_1D || viewType == VK_IMAGE_VIEW_TYPE_1D_ARRAY)
                                        break;
-
-                               // 3D ASTC textures are not supported.
-                               if (tcu::isAstcFormat(mapVkCompressedFormat(format)) && viewType == VK_IMAGE_VIEW_TYPE_3D)
-                                       break;
                        }
 
                        de::MovePtr<tcu::TestCaseGroup> formatGroup     (new tcu::TestCaseGroup(testCtx,