Home
last modified time | relevance | path

Searched refs:counterNdx (Results 1 – 3 of 3) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fAtomicCounterTests.cpp258 for (int counterNdx = 0; counterNdx < spec.atomicCounterCount; counterNdx++) in generateShaderSource() local
262 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 …]
Des31fOpaqueTypeIndexingTests.cpp1169 for (int counterNdx = 0; counterNdx < m_numCounters; counterNdx++) in iterate() local
1171 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() local
1188 const int counterValue = numHits[counterNdx]*numInvocations; in iterate()
1189 counterMasks[counterNdx].resize(counterValue, false); in iterate()
1197 const int counterNdx = opIndices[opNdx]; in iterate() local
1199 const bool rangeOk = de::inBounds(resValue, 0u, (deUint32)counterMasks[counterNdx].size()); in iterate()
1200 const bool notSeen = rangeOk && !counterMasks[counterNdx][resValue]; in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp1715 for (int counterNdx = 0; counterNdx < numCounters; counterNdx++) in iterate() local
1717 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() local
1734 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() local
1745 const bool rangeOk = de::inBounds(resValue, 0u, (deUint32)counterMasks[counterNdx].size()); in iterate()
1746 const bool notSeen = rangeOk && !counterMasks[counterNdx][resValue]; in iterate()
[all …]