Searched refs:counterNdx (Results 1 – 3 of 3) sorted by relevance
258 for (int counterNdx = 0; counterNdx < spec.atomicCounterCount; counterNdx++) in generateShaderSource() local262 if (spec.offsetType == OFFSETTYPE_RESET_DEFAULT && counterNdx == spec.atomicCounterCount/2) in generateShaderSource()291 src << "uniform atomic_uint counter" << counterNdx << ";\n"; in generateShaderSource()301 src << "offset=" << (counterNdx * 4) << ") uniform atomic_uint counter" << counterNdx << ";\n"; in generateShaderSource()309 src << "uniform atomic_uint counter" << counterNdx << ";\n"; in generateShaderSource()319 …src << "offset=" << (1 + counterNdx * 2) << ") uniform atomic_uint counter" << counterNdx << ";\n"; in generateShaderSource()329 src << "offset=0) uniform atomic_uint counter" << counterNdx << ";\n"; in generateShaderSource()339 …< (spec.atomicCounterCount - counterNdx - 1) * 4 << ") uniform atomic_uint counter" << (spec.atomi… in generateShaderSource()346 if (counterNdx + 1 == spec.atomicCounterCount) in generateShaderSource()355 else if (counterNdx == 0) in generateShaderSource()[all …]
1169 for (int counterNdx = 0; counterNdx < m_numCounters; counterNdx++) in iterate() local1171 const deUint32 refCount = (deUint32)(numHits[counterNdx]*numInvocations); in iterate()1172 const deUint32 resCount = counterValues[counterNdx]; in iterate()1176 …m_testCtx.getLog() << TestLog::Message << "ERROR: atomic counter " << counterNdx << " has value " … in iterate()1186 for (int counterNdx = 0; counterNdx < m_numCounters; counterNdx++) in iterate() local1188 const int counterValue = numHits[counterNdx]*numInvocations; in iterate()1189 counterMasks[counterNdx].resize(counterValue, false); in iterate()1197 const int counterNdx = opIndices[opNdx]; in iterate() local1199 const bool rangeOk = de::inBounds(resValue, 0u, (deUint32)counterMasks[counterNdx].size()); in iterate()1200 const bool notSeen = rangeOk && !counterMasks[counterNdx][resValue]; in iterate()[all …]
1715 for (int counterNdx = 0; counterNdx < numCounters; counterNdx++) in iterate() local1717 const deUint32 refCount = (deUint32)(numHits[counterNdx]*numInvocations); in iterate()1718 const deUint32 resCount = counterValues[counterNdx]; in iterate()1722 …log << tcu::TestLog::Message << "ERROR: atomic counter " << counterNdx << " has value " << resCount in iterate()1732 for (int counterNdx = 0; counterNdx < numCounters; counterNdx++) in iterate() local1734 const int counterValue = numHits[counterNdx]*numInvocations; in iterate()1735 counterMasks[counterNdx].resize(counterValue, false); in iterate()1743 const int counterNdx = m_opIndices[opNdx]; in iterate() local1745 const bool rangeOk = de::inBounds(resValue, 0u, (deUint32)counterMasks[counterNdx].size()); in iterate()1746 const bool notSeen = rangeOk && !counterMasks[counterNdx][resValue]; in iterate()[all …]