/external/deqp/modules/gles31/functional/ |
es31fShaderAtomicOpTests.cpp | 68 ShaderAtomicOpCase (Context& context, const char* name, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize); 96 ShaderAtomicOpCase::ShaderAtomicOpCase (Context& context, const char* name, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize) 102 , m_workGroupSize (workGroupSize) 279 const int workGroupSize = (int)product(m_workGroupSize); 280 const int numWorkGroups = numValues/workGroupSize; 284 const int groupOffset = groupNdx*workGroupSize; 290 for (int localNdx = 0; localNdx < workGroupSize; localNdx++) 302 for (int localNdx = 0; localNdx < workGroupSize; localNdx++) 432 const int workGroupSize = (int)product(m_workGroupSize); 433 const int numWorkGroups = numValues/workGroupSize; [all...] |
es31fIndirectComputeDispatchTests.cpp | 87 glu::ProgramSources genVerifySources (const UVec3& workGroupSize) 105 args["LOCAL_SIZE_X"] = de::toString(workGroupSize.x()); 106 args["LOCAL_SIZE_Y"] = de::toString(workGroupSize.y()); 107 args["LOCAL_SIZE_Z"] = de::toString(workGroupSize.z()); 284 deUint32 computeInvocationCount (const UVec3& workGroupSize, const UVec3& numWorkGroups) 286 const int numInvocationsPerGroup = workGroupSize[0]*workGroupSize[1]*workGroupSize[2]; 395 SingleDispatchCase (Context& context, const char* name, const char* description, GenBuffer genBuffer, deUintptr bufferSize, deUintptr offset, const UVec3& workGroupSize, const UVec3& numWorkGroups) 399 m_workGroupSize = workGroupSize; [all...] |
es31fComputeShaderBuiltinVarTests.cpp | 85 virtual UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) const = 0; 305 UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) const 308 DE_UNREF(workGroupSize); 332 UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) const 337 return workGroupSize; 355 UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) const 358 DE_UNREF(workGroupSize); 381 UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) const 384 DE_UNREF(workGroupSize); 406 UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) cons [all...] |
es31fShaderSharedVarTests.cpp | 74 SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize); 92 static std::string getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) 97 str << getDataTypeName(basicType) << ", work group size = " << workGroupSize; 101 SharedBasicVarCase::SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) 102 : TestCase (context, name, getBasicCaseDescription(basicType, precision, workGroupSize).c_str()) 105 , m_workGroupSize (workGroupSize) 375 const tcu::UVec3 workGroupSize (2,1,3); 376 basicTypeGroup->addChild(new SharedBasicVarCase(m_context, getDataTypeName(DataType(basicType)), DataType(basicType), PRECISION_LAST, workGroupSize)); 382 const tcu::UVec3 workGroupSize (2,1,3); 385 basicTypeGroup->addChild(new SharedBasicVarCase(m_context, name.c_str(), DataType(basicType), Precision(precision), workGroupSize)); [all...] |
es31fBasicComputeShaderTests.cpp | 609 const int workGroupSize = m_localSize[0]*m_localSize[1]*m_localSize[2]; 611 const int numValues = workGroupSize*workGroupCount; 621 << "shared uint offsets[" << workGroupSize << "];\n\n" 672 for (int localOffs = 0; localOffs < workGroupSize; localOffs++) 674 const int globalOffs = groupNdx*workGroupSize; 676 const int offs0 = localOffs-1 < 0 ? ((localOffs+workGroupSize-1)%workGroupSize) : ((localOffs-1)%workGroupSize); 677 const int offs1 = localOffs-2 < 0 ? ((localOffs+workGroupSize-2)%workGroupSize) : ((localOffs-2)%workGroupSize) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
vktComputeShaderBuiltinVarTests.cpp | 157 virtual UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) const = 0; 264 UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) const 267 DE_UNREF(workGroupSize); 291 UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) const 296 return workGroupSize; 315 UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) const 318 DE_UNREF(workGroupSize); 341 UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) const 344 DE_UNREF(workGroupSize); 366 UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workGroupID, const UVec3& localInvocationID) cons [all...] |
vktComputeIndirectComputeDispatchTests.cpp | 105 const tcu::UVec3 workGroupSize, 110 , m_workGroupSize (workGroupSize) 126 const tcu::UVec3& workGroupSize, 163 const tcu::UVec3& workGroupSize, 173 , m_workGroupSize (workGroupSize) 441 const tcu::UVec3& workGroupSize, 443 : IndirectDispatchInstanceBufferUpload(context, name, bufferSize, workGroupSize, dispatchCommands) {}
|
vktComputeBasicComputeShaderTests.cpp | 154 const int workGroupSize = multiplyComponents(m_localSize); 156 const int numValues = workGroupSize * workGroupCount; 164 << "shared uint offsets[" << workGroupSize << "];\n\n" 200 const int workGroupSize = multiplyComponents(m_localSize); 205 const VkDeviceSize bufferSizeBytes = sizeof(deUint32) * workGroupSize * workGroupCount; 264 const int globalOffset = groupNdx * workGroupSize; 265 for (int localOffset = 0; localOffset < workGroupSize; ++localOffset) 268 const deUint32 ref = globalOffset + squared(workGroupSize - localOffset - 1); 325 const int workGroupSize = multiplyComponents(m_localSize); 327 const int numValues = workGroupSize * workGroupCount [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesBufferMemoryAliasing.cpp | 118 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocations); 122 << "layout (local_size_x = " << workGroupSize.x() << ", local_size_y = " << workGroupSize.y() << ", local_size_z = " << workGroupSize.z() << ") in;\n" 341 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocationsLeft); 344 numInvocationsLeft -= workGroupSize.x()*workGroupSize.y()*workGroupSize.z();
|
vktSparseResourcesShaderIntrinsicsStorage.cpp | 86 << "OpDecorate %input_WorkGroupSize BuiltIn WorkgroupSize\n" 432 { 4u, 3u * (deUint32)sizeof(deUint32), sizeof(deUint32) }, // WorkGroupSize.x 433 { 5u, 4u * (deUint32)sizeof(deUint32), sizeof(deUint32) }, // WorkGroupSize.y 434 { 6u, 5u * (deUint32)sizeof(deUint32), sizeof(deUint32) }, // WorkGroupSize.z 442 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); 443 const tcu::UVec3 specializationData[2] = { gridSize, workGroupSize }; 484 const deUint32 xWorkGroupCount = gridSize.x() / workGroupSize.x() + (gridSize.x() % workGroupSize.x() ? 1u : 0u); 485 const deUint32 yWorkGroupCount = gridSize.y() / workGroupSize.y() + (gridSize.y() % workGroupSize.y() ? 1u : 0u) [all...] |
vktSparseResourcesImageSparseResidency.cpp | 144 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); 148 << "layout (local_size_x = " << workGroupSize.x() << ", local_size_y = " << workGroupSize.y() << ", local_size_z = " << workGroupSize.z() << ") in; \n" 520 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); 522 const deUint32 xWorkGroupCount = gridSize.x() / workGroupSize.x() + (gridSize.x() % workGroupSize.x() ? 1u : 0u); 523 const deUint32 yWorkGroupCount = gridSize.y() / workGroupSize.y() + (gridSize.y() % workGroupSize.y() ? 1u : 0u); 524 const deUint32 zWorkGroupCount = gridSize.z() / workGroupSize.z() + (gridSize.z() % workGroupSize.z() ? 1u : 0u) [all...] |
/external/deqp/external/openglcts/modules/common/ |
glcShaderGroupVoteTests.cpp | 41 struct WorkGroupSize 43 WorkGroupSize(deqp::Context& context) 98 const WorkGroupSize renderSize(context); 203 const WorkGroupSize renderSize(context); 232 const WorkGroupSize workGroupSize(context); 237 stream << workGroupSize.width << " " << workGroupSize.height;
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
ParseHelper.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmInstructionTests.cpp | 214 static string getAsmForLocalSizeTest(bool useLiteralLocalSize, bool useSpecConstantWorkgroupSize, IVec3 workGroupSize, deUint32 ndx) 222 << workGroupSize.x() << " " << workGroupSize.y() << " " << workGroupSize.z() << "\n"; 235 << "OpDecorate %gl_WorkGroupSize BuiltIn WorkgroupSize\n"; 246 out << "%spec_0 = OpSpecConstant %u32 "<< workGroupSize.x() << "\n" 247 << "%spec_1 = OpSpecConstant %u32 "<< workGroupSize.y() << "\n" 248 << "%spec_2 = OpSpecConstant %u32 "<< workGroupSize.z() << "\n" [all...] |
/external/deqp-deps/glslang/hlsl/ |
hlslParseHelper.cpp | [all...] |