/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
H A D | vktSubgroupsBuiltinVarTests.cpp | 154 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 165 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 167 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 169 for (deUint32 lZ = 0; lZ < localSize[2]; 173 nX * localSize[0] + lX; 175 nY * localSize[1] + lY; 177 nZ * localSize[2] + lZ; 180 numWorkgroups[0] * localSize[0]; 182 numWorkgroups[1] * localSize[1]; 206 const deUint32 numWorkgroups[3], const deUint32 localSize[ 153 checkComputeSubgroupSize(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize) argument 205 checkComputeSubgroupInvocationID(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize) argument 276 checkComputeNumSubgroups(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument 333 checkComputeSubgroupID(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument [all...] |
H A D | vktSubgroupsVoteTests.cpp | 104 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 115 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 117 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 119 for (deUint32 lZ = 0; lZ < localSize[2]; 123 nX * localSize[0] + lX; 125 nY * localSize[1] + lY; 127 nZ * localSize[2] + lZ; 130 numWorkgroups[0] * localSize[0]; 132 numWorkgroups[1] * localSize[1]; 157 const deUint32 numWorkgroups[3], const deUint32 localSize[ 103 checkCompute(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument 156 checkComputeAllEqual(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument [all...] |
H A D | vktSubgroupsBallotOtherTests.cpp | 90 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 102 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 104 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 106 for (deUint32 lZ = 0; lZ < localSize[2]; 110 nX * localSize[0] + lX; 112 nY * localSize[1] + lY; 114 nZ * localSize[2] + lZ; 117 numWorkgroups[0] * localSize[0]; 119 numWorkgroups[1] * localSize[1]; 89 checkCompute(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument
|
H A D | vktSubgroupsBallotTests.cpp | 78 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 90 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 92 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 94 for (deUint32 lZ = 0; lZ < localSize[2]; 98 nX * localSize[0] + lX; 100 nY * localSize[1] + lY; 102 nZ * localSize[2] + lZ; 105 numWorkgroups[0] * localSize[0]; 107 numWorkgroups[1] * localSize[1]; 77 checkCompute(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument
|
H A D | vktSubgroupsBuiltinMaskVarTests.cpp | 80 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 91 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 93 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 95 for (deUint32 lZ = 0; lZ < localSize[2]; 99 nX * localSize[0] + lX; 101 nY * localSize[1] + lY; 103 nZ * localSize[2] + lZ; 106 numWorkgroups[0] * localSize[0]; 108 numWorkgroups[1] * localSize[1]; 79 checkCompute(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument
|
H A D | vktSubgroupsBallotBroadcastTests.cpp | 85 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 97 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 99 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 101 for (deUint32 lZ = 0; lZ < localSize[2]; 105 nX * localSize[0] + lX; 107 nY * localSize[1] + lY; 109 nZ * localSize[2] + lZ; 112 numWorkgroups[0] * localSize[0]; 114 numWorkgroups[1] * localSize[1]; 84 checkCompute(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument
|
H A D | vktSubgroupsShapeTests.cpp | 78 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 89 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 91 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 93 for (deUint32 lZ = 0; lZ < localSize[2]; 97 nX * localSize[0] + lX; 99 nY * localSize[1] + lY; 101 nZ * localSize[2] + lZ; 104 numWorkgroups[0] * localSize[0]; 106 numWorkgroups[1] * localSize[1]; 77 checkCompute(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument
|
H A D | vktSubgroupsShuffleTests.cpp | 87 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 99 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 101 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 103 for (deUint32 lZ = 0; lZ < localSize[2]; 107 nX * localSize[0] + lX; 109 nY * localSize[1] + lY; 111 nZ * localSize[2] + lZ; 114 numWorkgroups[0] * localSize[0]; 116 numWorkgroups[1] * localSize[1]; 86 checkCompute(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument
|
H A D | vktSubgroupsBasicTests.cpp | 232 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 243 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 245 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 247 for (deUint32 lZ = 0; lZ < localSize[2]; 251 nX * localSize[0] + lX; 253 nY * localSize[1] + lY; 255 nZ * localSize[2] + lZ; 258 numWorkgroups[0] * localSize[0]; 260 numWorkgroups[1] * localSize[1]; 283 const deUint32 numWorkgroups[3], const deUint32 localSize[ 231 checkComputeSubgroupElect(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument 282 checkComputeSubgroupBarriers(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument [all...] |
H A D | vktSubgroupsArithmeticTests.cpp | 104 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 116 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 118 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 120 for (deUint32 lZ = 0; lZ < localSize[2]; 124 nX * localSize[0] + lX; 126 nY * localSize[1] + lY; 128 nZ * localSize[2] + lZ; 131 numWorkgroups[0] * localSize[0]; 133 numWorkgroups[1] * localSize[1]; 103 checkCompute(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument
|
H A D | vktSubgroupsClusteredTests.cpp | 90 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 102 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 104 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 106 for (deUint32 lZ = 0; lZ < localSize[2]; 110 nX * localSize[0] + lX; 112 nY * localSize[1] + lY; 114 nZ * localSize[2] + lZ; 117 numWorkgroups[0] * localSize[0]; 119 numWorkgroups[1] * localSize[1]; 89 checkCompute(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument
|
H A D | vktSubgroupsQuadTests.cpp | 87 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 99 for (deUint32 lX = 0; lX < localSize[0]; ++lX) 101 for (deUint32 lY = 0; lY < localSize[1]; ++lY) 103 for (deUint32 lZ = 0; lZ < localSize[2]; 107 nX * localSize[0] + lX; 109 nY * localSize[1] + lY; 111 nZ * localSize[2] + lZ; 114 numWorkgroups[0] * localSize[0]; 116 numWorkgroups[1] * localSize[1]; 86 checkCompute(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32) argument
|
H A D | vktSubgroupsTestsUtils.hpp | 142 const deUint32 numWorkgroups[3], const deUint32 localSize[3],
|
H A D | vktSubgroupsTestsUtils.cpp | 358 const deUint32 localSize[3] = {localSizeX, localSizeY, localSizeZ}; local 371 /* dataSize = */ sizeof(localSize), 372 /* pData = */ localSize 2604 const deUint32 numWorkgroups[3], const deUint32 localSize[3], 2601 makeComputeTest( Context& context, VkFormat format, SSBOData* inputs, deUint32 inputsCount, bool (*checkResult)(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize)) argument
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fComputeShaderBuiltinVarTests.cpp | 90 UVec3 localSize; member in struct:deqp::gles31::Functional::ComputeBuiltinVarCase::SubCase 94 SubCase (const UVec3& localSize_, const UVec3& numWorkGroups_) : localSize(localSize_), numWorkGroups(numWorkGroups_) {} 103 deUint32 getProgram (const UVec3& localSize); 136 static string genBuiltinVarSource (const string& varName, DataType varType, const UVec3& localSize) argument 141 << "layout (local_size_x = " << localSize.x() << ", local_size_y = " << localSize.y() << ", local_size_z = " << localSize.z() << ") in;\n" 157 deUint32 ComputeBuiltinVarCase::getProgram (const UVec3& localSize) argument 159 LocalSizeProgramMap::const_iterator cachePos = m_progMap.find(localSize); 165 ProgramSources() << ComputeSource(genBuiltinVarSource(m_varName, m_varType, localSize)))); [all...] |
H A D | es31fBasicComputeShaderTests.cpp | 121 UBOToSSBOInvertCase (Context& context, const char* name, const char* description, int numValues, const tcu::IVec3& localSize, const tcu::IVec3& workSize) argument 124 , m_localSize (localSize) 243 CopyInvertSSBOCase (Context& context, const char* name, const char* description, int numValues, const tcu::IVec3& localSize, const tcu::IVec3& workSize) argument 246 , m_localSize (localSize) 366 InvertSSBOInPlaceCase (Context& context, const char* name, const char* description, int numValues, bool isSized, const tcu::IVec3& localSize, const tcu::IVec3& workSize) argument 370 , m_localSize (localSize) 470 WriteToMultipleSSBOCase (Context& context, const char* name, const char* description, int numValues, bool isSized, const tcu::IVec3& localSize, const tcu::IVec3& workSize) argument 474 , m_localSize (localSize) 598 SSBOLocalBarrierCase (Context& context, const char* name, const char* description, const tcu::IVec3& localSize, const tcu::IVec3& workSize) argument 600 , m_localSize (localSize) [all...] |
H A D | es31fShaderImageLoadStoreTests.cpp | 2565 const IVec3 localSize = workItemSize / numGroups; local 2569 DE_ASSERT(workItemSize == localSize*numGroups); 2570 DE_ASSERT(tcu::boolAll(tcu::lessThanEqual(localSize, minReqMaxLocalSize))); 2571 DE_ASSERT(localSize.x()*localSize.y()*localSize.z() <= minReqMaxLocalInvocations); 2602 const string localSizeX = de::toString(localSize.x()); 2603 const string localSizeY = de::toString(localSize.y()); 2604 const string localSizeZ = de::toString(localSize.z()); 2686 const int groupBaseX = x / localSize [all...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeShaderBuiltinVarTests.cpp | 108 const UVec3& localSize (void) const { return m_localSize; } function in class:vkt::compute::__anon4302::SubCase 158 string genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localSize) const; 162 deUint32 getProgram (const tcu::UVec3& localSize); 192 programCollection.glslSources.add(name.str()) << glu::ComputeSource(genBuiltinVarSource(m_varName, m_varType, subCase.localSize()).c_str()); 196 string ComputeBuiltinVarCase::genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localSize) const 201 << "layout (local_size_x = " << localSize.x() << ", local_size_y = " << localSize.y() << ", local_size_z = " << localSize.z() << ") in;\n" 387 const tcu::UVec3 globalSize = subCase.localSize()*subCase.numWorkGroups(); 391 const deUint32 numInvocations = subCase.localSize()[ [all...] |
H A D | vktComputeBasicComputeShaderTests.cpp | 114 const tcu::IVec3& localSize, 129 const tcu::IVec3& localSize, 142 const tcu::IVec3& localSize, 145 , m_localSize (localSize) 164 << " uint localSize = gl_WorkGroupSize.x*gl_WorkGroupSize.y*gl_WorkGroupSize.z;\n" 166 << " uint globalOffs = localSize*globalNdx;\n" 169 << " offsets[localSize-localOffs-1u] = globalOffs + localOffs*localOffs;\n" 183 SharedVarTestInstance::SharedVarTestInstance (Context& context, const tcu::IVec3& localSize, const tcu::IVec3& workSize) argument 185 , m_localSize (localSize) 285 const tcu::IVec3& localSize, 139 SharedVarTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const tcu::IVec3& localSize, const tcu::IVec3& workSize) argument 310 SharedVarAtomicOpTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const tcu::IVec3& localSize, const tcu::IVec3& workSize) argument 354 SharedVarAtomicOpTestInstance(Context& context, const tcu::IVec3& localSize, const tcu::IVec3& workSize) argument 481 SSBOLocalBarrierTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const tcu::IVec3& localSize, const tcu::IVec3& workSize) argument 527 SSBOLocalBarrierTestInstance(Context& context, const tcu::IVec3& localSize, const tcu::IVec3& workSize) argument [all...] |
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
H A D | vktQueryPoolStatisticsTests.cpp | 240 tcu::UVec3 localSize; member in struct:vkt::QueryPool::__anon4460::ComputeInvocationsTestInstance::ParametersCompute 254 return parm.localSize.x() * parm.localSize.y() *parm.localSize.z() * parm.groupSize.x() * parm.groupSize.y() * parm.groupSize.z(); 1987 const tcu::UVec3 localSize[] = local 2001 DE_ASSERT(DE_LENGTH_OF_ARRAY(localSize) == DE_LENGTH_OF_ARRAY(groupSize)); 2003 for(int shaderNdx = 0; shaderNdx < DE_LENGTH_OF_ARRAY(localSize); ++shaderNdx) 2009 localSize[shaderNdx], 2040 << "layout (local_size_x = " << m_parameters[shaderNdx].localSize.x() << ", local_size_y = " << m_parameters[shaderNdx].localSize [all...] |
/external/deqp/modules/glshared/ |
H A D | glsAttributeLocationTests.cpp | 651 AttribType::AttribType (const string& name, deUint32 localSize, deUint32 typeEnum) argument 653 , m_locationSize (localSize)
|