/external/deqp/modules/gles31/functional/ |
D | es31fShaderAtomicOpTests.cpp | 68 …me, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize); 96 …ame, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize) in ShaderAtomicOpCase() argument 102 , m_workGroupSize (workGroupSize) in ShaderAtomicOpCase() 279 const int workGroupSize = (int)product(m_workGroupSize); in verify() local 280 const int numWorkGroups = numValues/workGroupSize; in verify() 284 const int groupOffset = groupNdx*workGroupSize; in verify() 290 for (int localNdx = 0; localNdx < workGroupSize; localNdx++) in verify() 302 for (int localNdx = 0; localNdx < workGroupSize; localNdx++) in verify() 432 const int workGroupSize = (int)product(m_workGroupSize); in verify() local 433 const int numWorkGroups = numValues/workGroupSize; in verify() [all …]
|
D | es31fComputeShaderBuiltinVarTests.cpp | 85 …virtual UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const U… 305 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument 308 DE_UNREF(workGroupSize); in computeReference() 332 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument 337 return workGroupSize; in computeReference() 355 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument 358 DE_UNREF(workGroupSize); in computeReference() 381 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument 384 DE_UNREF(workGroupSize); in computeReference() 406 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument [all …]
|
D | es31fIndirectComputeDispatchTests.cpp | 87 glu::ProgramSources genVerifySources (const UVec3& workGroupSize) in genVerifySources() argument 105 args["LOCAL_SIZE_X"] = de::toString(workGroupSize.x()); in genVerifySources() 106 args["LOCAL_SIZE_Y"] = de::toString(workGroupSize.y()); in genVerifySources() 107 args["LOCAL_SIZE_Z"] = de::toString(workGroupSize.z()); in genVerifySources() 284 deUint32 computeInvocationCount (const UVec3& workGroupSize, const UVec3& numWorkGroups) in computeInvocationCount() argument 286 const int numInvocationsPerGroup = workGroupSize[0]*workGroupSize[1]*workGroupSize[2]; in computeInvocationCount() 395 …uffer genBuffer, deUintptr bufferSize, deUintptr offset, const UVec3& workGroupSize, const UVec3& … in SingleDispatchCase() argument 399 m_workGroupSize = workGroupSize; in SingleDispatchCase() 469 UVec3 workGroupSize; in init() member 496 s_singleDispatchCases[ndx].workGroupSize, in init()
|
D | es31fShaderSharedVarTests.cpp | 74 …ntext, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize); 92 … getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) in getBasicCaseDescription() argument 97 str << getDataTypeName(basicType) << ", work group size = " << workGroupSize; in getBasicCaseDescription() 101 …ontext, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) in SharedBasicVarCase() argument 102 : TestCase (context, name, getBasicCaseDescription(basicType, precision, workGroupSize).c_str()) in SharedBasicVarCase() 105 , m_workGroupSize (workGroupSize) in SharedBasicVarCase() 375 const tcu::UVec3 workGroupSize (2,1,3); in init() local 376 …ontext, getDataTypeName(DataType(basicType)), DataType(basicType), PRECISION_LAST, workGroupSize)); in init() 382 const tcu::UVec3 workGroupSize (2,1,3); in init() local 385 …edBasicVarCase(m_context, name.c_str(), DataType(basicType), Precision(precision), workGroupSize)); in init()
|
D | es31fBasicComputeShaderTests.cpp | 609 const int workGroupSize = m_localSize[0]*m_localSize[1]*m_localSize[2]; in iterate() local 611 const int numValues = workGroupSize*workGroupCount; in iterate() 621 << "shared uint offsets[" << workGroupSize << "];\n\n" in iterate() 672 for (int localOffs = 0; localOffs < workGroupSize; localOffs++) in iterate() 674 const int globalOffs = groupNdx*workGroupSize; in iterate() 676 … int offs0 = localOffs-1 < 0 ? ((localOffs+workGroupSize-1)%workGroupSize) : ((localOffs-1)%work… in iterate() 677 … int offs1 = localOffs-2 < 0 ? ((localOffs+workGroupSize-2)%workGroupSize) : ((localOffs-2)%work… in iterate() 832 const int workGroupSize = m_localSize[0]*m_localSize[1]*m_localSize[2]; in iterate() local 834 const int numValues = workGroupSize*workGroupCount; in iterate() 844 << "shared uint offsets[" << workGroupSize << "];\n\n" in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeShaderBuiltinVarTests.cpp | 155 …virtual UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const U… 234 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument 237 DE_UNREF(workGroupSize); in computeReference() 261 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument 266 return workGroupSize; in computeReference() 285 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument 288 DE_UNREF(workGroupSize); in computeReference() 311 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument 314 DE_UNREF(workGroupSize); in computeReference() 336 …UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference() argument [all …]
|
D | vktComputeIndirectComputeDispatchTests.cpp | 103 const tcu::UVec3 workGroupSize, in DispatchCaseDesc() 108 , m_workGroupSize (workGroupSize) in DispatchCaseDesc() 124 const tcu::UVec3& workGroupSize, 162 const tcu::UVec3& workGroupSize, in IndirectDispatchInstanceBufferUpload() argument 172 , m_workGroupSize (workGroupSize) in IndirectDispatchInstanceBufferUpload() 441 const tcu::UVec3& workGroupSize, in IndirectDispatchInstanceBufferGenerate() argument 443 …: IndirectDispatchInstanceBufferUpload(context, name, bufferSize, workGroupSize, dispatchCommands)… in IndirectDispatchInstanceBufferGenerate()
|
D | vktComputeBasicComputeShaderTests.cpp | 152 const int workGroupSize = multiplyComponents(m_localSize); in initPrograms() local 154 const int numValues = workGroupSize * workGroupCount; in initPrograms() 162 << "shared uint offsets[" << workGroupSize << "];\n\n" in initPrograms() 198 const int workGroupSize = multiplyComponents(m_localSize); in iterate() local 203 const VkDeviceSize bufferSizeBytes = sizeof(deUint32) * workGroupSize * workGroupCount; in iterate() 262 const int globalOffset = groupNdx * workGroupSize; in iterate() 263 for (int localOffset = 0; localOffset < workGroupSize; ++localOffset) in iterate() 266 const deUint32 ref = globalOffset + squared(workGroupSize - localOffset - 1); in iterate() 323 const int workGroupSize = multiplyComponents(m_localSize); in initPrograms() local 325 const int numValues = workGroupSize * workGroupCount; in initPrograms() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsicsStorage.cpp | 441 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); in recordCommands() local 442 const tcu::UVec3 specializationData[2] = { gridSize, workGroupSize }; in recordCommands() 483 …const deUint32 xWorkGroupCount = gridSize.x() / workGroupSize.x() + (gridSize.x() % workGroupSize… in recordCommands() 484 …const deUint32 yWorkGroupCount = gridSize.y() / workGroupSize.y() + (gridSize.y() % workGroupSize… in recordCommands() 485 …const deUint32 zWorkGroupCount = gridSize.z() / workGroupSize.z() + (gridSize.z() % workGroupSize… in recordCommands()
|
D | vktSparseResourcesBufferMemoryAliasing.cpp | 116 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocations); in initPrograms() local 120 …yout (local_size_x = " << workGroupSize.x() << ", local_size_y = " << workGroupSize.y() << ", loca… in initPrograms() 326 const tcu::UVec3 workGroupSize = computeWorkGroupSize(numInvocationsLeft); in iterate() local 329 numInvocationsLeft -= workGroupSize.x()*workGroupSize.y()*workGroupSize.z(); in iterate()
|
D | vktSparseResourcesImageSparseResidency.cpp | 153 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); in initPrograms() local 157 …yout (local_size_x = " << workGroupSize.x() << ", local_size_y = " << workGroupSize.y() << ", loca… in initPrograms() 516 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); in iterate() local 518 …const deUint32 xWorkGroupCount = gridSize.x() / workGroupSize.x() + (gridSize.x() % workGroupSize.… in iterate() 519 …const deUint32 yWorkGroupCount = gridSize.y() / workGroupSize.y() + (gridSize.y() % workGroupSize.… in iterate() 520 …const deUint32 zWorkGroupCount = gridSize.z() / workGroupSize.z() + (gridSize.z() % workGroupSize.… in iterate()
|