Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
authorAlexander Galazin <alexander.galazin@arm.com>
Fri, 11 Aug 2017 16:32:00 +0000 (18:32 +0200)
committerAlexander Galazin <alexander.galazin@arm.com>
Fri, 11 Aug 2017 16:32:00 +0000 (18:32 +0200)
Change-Id: Iae127509ee1d187291e37c0ee9da7d331b070646

1  2 
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp

@@@ -365,13 -390,11 +365,13 @@@ struct OpAtomicCas
                                                , numOutputElements (_numOutputElements) {}
  };
  
 -tcu::TestCaseGroup* createOpAtomicGroup (tcu::TestContext& testCtx)
 +tcu::TestCaseGroup* createOpAtomicGroup (tcu::TestContext& testCtx, bool useStorageBuffer)
  {
 -      de::MovePtr<tcu::TestCaseGroup> group                   (new tcu::TestCaseGroup(testCtx, "opatomic", "Test the OpAtomic* opcodes"));
 -      de::Random                                              rnd                             (deStringHash(group->getName()));
 -      const int                                               numElements             = 65535;
 +      de::MovePtr<tcu::TestCaseGroup> group                           (new tcu::TestCaseGroup(testCtx,
 +                                                                                                                                                              useStorageBuffer ? "opatomic_storage_buffer" : "opatomic",
 +                                                                                                                                                              "Test the OpAtomic* opcodes"));
 +      de::Random                                              rnd                                     (deStringHash(group->getName()));
-       const int                                               numElements                     = 1000000;
++      const int                                               numElements                     = 65535;
        vector<OpAtomicCase>                    cases;
  
        const StringTemplate                    shaderTemplate  (