Lines Matching refs:localSize
90 UVec3 localSize;
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)
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)
159 LocalSizeProgramMap::const_iterator cachePos = m_progMap.find(localSize);
165 ProgramSources() << ComputeSource(genBuiltinVarSource(m_varName, m_varType, localSize))));
172 m_progMap[localSize] = program;
210 const deUint32 program = getProgram(subCase.localSize);
212 const tcu::UVec3 globalSize = subCase.localSize*subCase.numWorkGroups;
214 const deUint32 numInvocations = subCase.localSize[0]*subCase.localSize[1]*subCase.localSize[2]*subCase.numWorkGroups[0]*subCase.numWorkGroups[1]*subCase.numWorkGroups[2];
224 << TestLog::Message << "Work group size = " << subCase.localSize << TestLog::EndMessage;
250 for (deUint32 localZ = 0; localZ < subCase.localSize.z(); localZ++)
251 for (deUint32 localY = 0; localY < subCase.localSize.y(); localY++)
252 for (deUint32 localX = 0; localX < subCase.localSize.x(); localX++)
256 const UVec3 refGlobalID = refGroupID * subCase.localSize + refLocalID;
258 const UVec3 refValue = computeReference(subCase.numWorkGroups, subCase.localSize, refGroupID, refLocalID);