, 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 (