Fix ubo.random to only use scalar_block_layout in 'scalar' tests
authorJeff Bolz <jbolz@nvidia.com>
Tue, 4 Dec 2018 17:00:04 +0000 (11:00 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 5 Dec 2018 08:09:32 +0000 (03:09 -0500)
Components: Vulkan
Affects: dEQP-VK.ubo.random*

VK-GL-CTS issue: 1493

Change-Id: I1f5c9b3d8269973c33de1908673d942e67ea3184

external/vulkancts/modules/vulkan/ubo/vktUniformBlockTests.cpp

index 475b0c6..0de184c 100644 (file)
@@ -904,7 +904,8 @@ void UniformBlockTests::init (void)
                const deUint32  allBasicTypes   = FEATURE_VECTORS|FEATURE_MATRICES;
                const deUint32  unused                  = FEATURE_UNUSED_MEMBERS|FEATURE_UNUSED_UNIFORMS;
                const deUint32  matFlags                = FEATURE_MATRIX_LAYOUT;
-               const deUint32  allFeatures             = ~FEATURE_OUT_OF_ORDER_OFFSETS & ~FEATURE_16BIT_STORAGE & ~FEATURE_8BIT_STORAGE;  // OOO offsets handled in a dedicated case group
+               const deUint32  allFeatures             = ~FEATURE_OUT_OF_ORDER_OFFSETS & ~FEATURE_16BIT_STORAGE & ~FEATURE_8BIT_STORAGE
+                                                                                 & ~FEATURE_STD430_LAYOUT & ~FEATURE_SCALAR_LAYOUT;  // OOO offsets handled in a dedicated case group
                const deUint32  allScalar               = ~allLayouts & ~FEATURE_16BIT_STORAGE & ~FEATURE_8BIT_STORAGE;
 
                tcu::TestCaseGroup* randomGroup = new tcu::TestCaseGroup(m_testCtx, "random", "Random Uniform Block cases");