Lines Matching defs:refEntry

1707 bool compareBufferVarData (tcu::TestLog& log, const BufferVarLayoutEntry& refEntry, const BlockDataPtr& refBlockPtr, const BufferVarLayoutEntry& resEntry, const BlockDataPtr& resBlockPtr)
1709 DE_ASSERT(resEntry.arraySize <= refEntry.arraySize);
1710 DE_ASSERT(resEntry.topLevelArraySize <= refEntry.topLevelArraySize);
1712 DE_ASSERT(resEntry.type == refEntry.type);
1715 const deUint8* const refBasePtr = (const deUint8*)refBlockPtr.ptr + refEntry.offset;
1716 const glu::DataType scalarType = glu::getDataTypeScalarType(refEntry.type);
1727 const int refArraySize = refEntry.arraySize == 0 ? refBlockPtr.lastUnsizedArraySize : refEntry.arraySize;
1728 const int refArrayStride = refEntry.arrayStride;
1729 const int refTopLevelSize = refEntry.topLevelArraySize == 0 ? refBlockPtr.lastUnsizedArraySize : refEntry.topLevelArraySize;
1730 const int refTopLevelStride = refEntry.topLevelArrayStride;
1757 const deUint8* refCompPtr = refElemPtr + (refEntry.isRowMajor ? rowNdx*refEntry.matrixStride + colNdx*compSize
1758 : colNdx*refEntry.matrixStride + rowNdx*compSize);
1773 generateImmMatrixSrc(expected, refEntry.type, refEntry.matrixStride, refEntry.isRowMajor, false, -1, refElemPtr);
1775 log << TestLog::Message << "ERROR: mismatch in " << refEntry.name << ", top-level ndx " << topElemNdx << ", bottom-level ndx " << elementNdx << ":\n"
1795 generateImmScalarVectorSrc(expected, refEntry.type, refElemPtr);
1797 log << TestLog::Message << "ERROR: mismatch in " << refEntry.name << ", top-level ndx " << topElemNdx << ", bottom-level ndx " << elementNdx << ":\n"
1808 log << TestLog::Message << "... (" << numFailed << " failures for " << refEntry.name << " in total)" << TestLog::EndMessage;
1832 const BufferVarLayoutEntry& refEntry = refLayout.bufferVars[*refVarNdxIter];
1833 int resVarNdx = resLayout.getVariableIndex(refEntry.name.c_str());
1838 allOk = compareBufferVarData(log, refEntry, refBlockPtr, resEntry, resBlockPtr) && allOk;