Lines Matching refs:UVec3
46 using tcu::UVec3;
72 RESULT_BLOCK_BASE_SIZE = (3+1)*(int)sizeof(deUint32), // uvec3 + uint
87 glu::ProgramSources genVerifySources (const UVec3& workGroupSize)
94 " uvec3 expectedGroupCount;\n"
124 UVec3 numWorkGroups;
127 DispatchCommand (deIntptr offset_, const UVec3& numWorkGroups_) : offset(offset_), numWorkGroups(numWorkGroups_) {}
132 UVec3 m_workGroupSize;
217 "void writeCmd (uint offset, uvec3 numWorkGroups)\n"
232 src << "\twriteCmd(" << offs << "u, uvec3("
284 deUint32 computeInvocationCount (const UVec3& workGroupSize, const UVec3& numWorkGroups)
395 SingleDispatchCase (Context& context, const char* name, const char* description, GenBuffer genBuffer, deUintptr bufferSize, deUintptr offset, const UVec3& workGroupSize, const UVec3& numWorkGroups)
411 m_workGroupSize = UVec3(3,1,2);
413 m_commands.push_back(DispatchCommand(0, UVec3(1,1,1)));
414 m_commands.push_back(DispatchCommand(INDIRECT_COMMAND_SIZE, UVec3(2,1,1)));
415 m_commands.push_back(DispatchCommand(104, UVec3(1,3,1)));
416 m_commands.push_back(DispatchCommand(40, UVec3(1,1,7)));
417 m_commands.push_back(DispatchCommand(52, UVec3(1,1,4)));
428 m_workGroupSize = UVec3(3,1,2);
430 m_commands.push_back(DispatchCommand(0, UVec3(1,1,1)));
431 m_commands.push_back(DispatchCommand(0, UVec3(1,1,1)));
432 m_commands.push_back(DispatchCommand(0, UVec3(1,1,1)));
433 m_commands.push_back(DispatchCommand(104, UVec3(1,3,1)));
434 m_commands.push_back(DispatchCommand(104, UVec3(1,3,1)));
435 m_commands.push_back(DispatchCommand(52, UVec3(1,1,4)));
436 m_commands.push_back(DispatchCommand(52, UVec3(1,1,4)));
469 UVec3 workGroupSize;
470 UVec3 numWorkGroups;
474 { "single_invocation", "Single invocation only from offset 0", INDIRECT_COMMAND_SIZE, 0, UVec3(1,1,1), UVec3(1,1,1) },
475 { "multiple_groups", "Multiple groups dispatched from offset 0", INDIRECT_COMMAND_SIZE, 0, UVec3(1,1,1), UVec3(2,3,5) },
476 { "multiple_groups_multiple_invocations", "Multiple groups of size 2x3x1 from offset 0", INDIRECT_COMMAND_SIZE, 0, UVec3(2,3,1), UVec3(1,2,3) },
477 { "small_offset", "Small offset", 16+INDIRECT_COMMAND_SIZE, 16, UVec3(1,1,1), UVec3(1,1,1) },
478 { "large_offset", "Large offset", (2<<20), (1<<20) + 12, UVec3(1,1,1), UVec3(1,1,1) },
479 { "large_offset_multiple_invocations", "Large offset, multiple invocations", (2<<20), (1<<20) + 12, UVec3(2,3,1), UVec3(1,2,3) },
480 { "empty_command", "Empty command", INDIRECT_COMMAND_SIZE, 0, UVec3(1,1,1), UVec3(0,0,0) },