• Home
  • Raw
  • Download

Lines Matching refs:UVec3

51 using tcu::UVec3;
73 typedef std::map<tcu::UVec3, ShaderProgramSp, LexicalCompareVec<deUint32, 3> > LocalSizeProgramMap;
85 …virtual UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const U…
90 UVec3 localSize;
91 UVec3 numWorkGroups;
94 …SubCase (const UVec3& localSize_, const UVec3& numWorkGroups_) : localSize(localSize_), numWorkGro… in SubCase()
103 deUint32 getProgram (const UVec3& localSize);
136 static string genBuiltinVarSource (const string& varName, DataType varType, const UVec3& localSize) in genBuiltinVarSource()
157 deUint32 ComputeBuiltinVarCase::getProgram (const UVec3& localSize) in getProgram()
177 static inline UVec3 readResultVec (const deUint32* ptr, int numComps) in readResultVec()
179 UVec3 res; in readResultVec()
185 static inline bool compareComps (const UVec3& a, const UVec3& b, int numComps) in compareComps()
193 const UVec3& v;
196 LogComps (const UVec3& v_, int numComps_) : v(v_), numComps(numComps_) {} in LogComps()
212 const tcu::UVec3 globalSize = subCase.localSize*subCase.numWorkGroups; in iterate()
254 const UVec3 refGroupID (groupX, groupY, groupZ); in iterate()
255 const UVec3 refLocalID (localX, localY, localZ); in iterate()
256 const UVec3 refGlobalID = refGroupID * subCase.localSize + refLocalID; in iterate()
258 …const UVec3 refValue = computeReference(subCase.numWorkGroups, subCase.localSize, refGroupID, r… in iterate()
261 const UVec3 resValue = readResultVec(resPtr, numScalars); in iterate()
297 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,1,1))); in NumWorkGroupsCase()
298 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(52,1,1))); in NumWorkGroupsCase()
299 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,39,1))); in NumWorkGroupsCase()
300 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,1,78))); in NumWorkGroupsCase()
301 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(4,7,11))); in NumWorkGroupsCase()
302 m_subCases.push_back(SubCase(UVec3(2,3,4), UVec3(4,7,11))); in NumWorkGroupsCase()
305UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference()
321 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,1,1))); in WorkGroupSizeCase()
322 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(2,7,3))); in WorkGroupSizeCase()
323 m_subCases.push_back(SubCase(UVec3(2,1,1), UVec3(1,1,1))); in WorkGroupSizeCase()
324 m_subCases.push_back(SubCase(UVec3(2,1,1), UVec3(1,3,5))); in WorkGroupSizeCase()
325 m_subCases.push_back(SubCase(UVec3(1,3,1), UVec3(1,1,1))); in WorkGroupSizeCase()
326 m_subCases.push_back(SubCase(UVec3(1,1,7), UVec3(1,1,1))); in WorkGroupSizeCase()
327 m_subCases.push_back(SubCase(UVec3(1,1,7), UVec3(3,3,1))); in WorkGroupSizeCase()
328 m_subCases.push_back(SubCase(UVec3(10,3,4), UVec3(1,1,1))); in WorkGroupSizeCase()
329 m_subCases.push_back(SubCase(UVec3(10,3,4), UVec3(3,1,2))); in WorkGroupSizeCase()
332UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference()
347 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,1,1))); in WorkGroupIDCase()
348 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(52,1,1))); in WorkGroupIDCase()
349 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,39,1))); in WorkGroupIDCase()
350 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,1,78))); in WorkGroupIDCase()
351 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(4,7,11))); in WorkGroupIDCase()
352 m_subCases.push_back(SubCase(UVec3(2,3,4), UVec3(4,7,11))); in WorkGroupIDCase()
355UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference()
370 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,1,1))); in LocalInvocationIDCase()
371 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(2,7,3))); in LocalInvocationIDCase()
372 m_subCases.push_back(SubCase(UVec3(2,1,1), UVec3(1,1,1))); in LocalInvocationIDCase()
373 m_subCases.push_back(SubCase(UVec3(2,1,1), UVec3(1,3,5))); in LocalInvocationIDCase()
374 m_subCases.push_back(SubCase(UVec3(1,3,1), UVec3(1,1,1))); in LocalInvocationIDCase()
375 m_subCases.push_back(SubCase(UVec3(1,1,7), UVec3(1,1,1))); in LocalInvocationIDCase()
376 m_subCases.push_back(SubCase(UVec3(1,1,7), UVec3(3,3,1))); in LocalInvocationIDCase()
377 m_subCases.push_back(SubCase(UVec3(10,3,4), UVec3(1,1,1))); in LocalInvocationIDCase()
378 m_subCases.push_back(SubCase(UVec3(10,3,4), UVec3(3,1,2))); in LocalInvocationIDCase()
381UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference()
396 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,1,1))); in GlobalInvocationIDCase()
397 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(52,1,1))); in GlobalInvocationIDCase()
398 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,39,1))); in GlobalInvocationIDCase()
399 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,1,78))); in GlobalInvocationIDCase()
400 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(4,7,11))); in GlobalInvocationIDCase()
401 m_subCases.push_back(SubCase(UVec3(2,3,4), UVec3(4,7,11))); in GlobalInvocationIDCase()
402 m_subCases.push_back(SubCase(UVec3(10,3,4), UVec3(1,1,1))); in GlobalInvocationIDCase()
403 m_subCases.push_back(SubCase(UVec3(10,3,4), UVec3(3,1,2))); in GlobalInvocationIDCase()
406UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference()
419 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,1,1))); in LocalInvocationIndexCase()
420 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(1,39,1))); in LocalInvocationIndexCase()
421 m_subCases.push_back(SubCase(UVec3(1,1,1), UVec3(4,7,11))); in LocalInvocationIndexCase()
422 m_subCases.push_back(SubCase(UVec3(2,3,4), UVec3(4,7,11))); in LocalInvocationIndexCase()
423 m_subCases.push_back(SubCase(UVec3(10,3,4), UVec3(1,1,1))); in LocalInvocationIndexCase()
424 m_subCases.push_back(SubCase(UVec3(10,3,4), UVec3(3,1,2))); in LocalInvocationIndexCase()
427UVec3 computeReference (const UVec3& numWorkGroups, const UVec3& workGroupSize, const UVec3& workG… in computeReference()
431 …return UVec3(localInvocationID.z()*workGroupSize.x()*workGroupSize.y() + localInvocationID.y()*wor… in computeReference()