Lines Matching refs:workGroupSize
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;
438 const int groupOffset = groupNdx*workGroupSize;
444 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
462 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
514 const int workGroupSize = (int)product(m_workGroupSize);
515 const int numWorkGroups = numValues/workGroupSize;
520 const int groupOffset = groupNdx*workGroupSize;
526 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
544 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
588 const int workGroupSize = (int)product(m_workGroupSize);
589 const int numWorkGroups = numValues/workGroupSize;
596 const int groupOffset = groupNdx*workGroupSize;
599 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
606 const int workGroupSize = (int)product(m_workGroupSize);
607 const int numWorkGroups = numValues/workGroupSize;
614 const int groupOffset = groupNdx*workGroupSize;
618 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
630 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
661 const int workGroupSize = (int)product(m_workGroupSize);
662 const int numWorkGroups = numValues/workGroupSize;
668 const int groupOffset = groupNdx*workGroupSize;
670 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
677 const int workGroupSize = (int)product(m_workGroupSize);
678 const int numWorkGroups = numValues/workGroupSize;
685 const int groupOffset = groupNdx*workGroupSize;
689 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
701 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
732 const int workGroupSize = (int)product(m_workGroupSize);
733 const int numWorkGroups = numValues/workGroupSize;
737 const int groupOffset = groupNdx*workGroupSize;
743 for (int localNdx = 1; localNdx < workGroupSize; localNdx++)
750 const int workGroupSize = (int)product(m_workGroupSize);
751 const int numWorkGroups = numValues/workGroupSize;
758 const int groupOffset = groupNdx*workGroupSize;
765 for (int localNdx = 1; localNdx < workGroupSize; localNdx++)
782 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
815 const int workGroupSize = (int)product(m_workGroupSize);
816 const int numWorkGroups = numValues/workGroupSize;
820 const int groupOffset = groupNdx*workGroupSize;
822 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
829 const int workGroupSize = (int)product(m_workGroupSize);
830 const int numWorkGroups = numValues/workGroupSize;
836 const int groupOffset = groupNdx*workGroupSize;
840 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
844 if (!de::inRange(outputValue, 0, workGroupSize) || usedValues.find(outputValue) != usedValues.end())
854 if (!de::inRange(groupOutput, 0, workGroupSize) || usedValues.find(groupOutput) != usedValues.end())
1020 const deUint32 workGroupSize = product(m_workGroupSize);
1026 *(deUint32*)(&bufData[0] + cmpVarInfo.offset + cmpVarInfo.arrayStride*ndx) = ndx%workGroupSize;
1029 *(deUint32*)(&bufData[0] + exhVarInfo.offset + exhVarInfo.arrayStride*ndx) = (ndx%workGroupSize)+1;
1043 const int workGroupSize = (int)product(m_workGroupSize);
1051 const int groupOffset = groupNdx*workGroupSize;
1054 for (int localNdx = 0; localNdx < workGroupSize; localNdx++)
1069 if (groupOutput != workGroupSize)
1071 m_testCtx.getLog() << TestLog::Message << "ERROR: at group " << groupNdx << ": expected" << workGroupSize << ", got " << groupOutput << TestLog::EndMessage;