Lines Matching refs:refEntry

1690 bool compareBufferVarData (tcu::TestLog& log, const BufferVarLayoutEntry& refEntry, const BlockData…  in compareBufferVarData()  argument
1692 DE_ASSERT(resEntry.arraySize <= refEntry.arraySize); in compareBufferVarData()
1693 DE_ASSERT(resEntry.topLevelArraySize <= refEntry.topLevelArraySize); in compareBufferVarData()
1695 DE_ASSERT(resEntry.type == refEntry.type); in compareBufferVarData()
1698 const deUint8* const refBasePtr = (const deUint8*)refBlockPtr.ptr + refEntry.offset; in compareBufferVarData()
1699 const glu::DataType scalarType = glu::getDataTypeScalarType(refEntry.type); in compareBufferVarData()
1710 …const int refArraySize = refEntry.arraySize == 0 ? refBlockPtr.lastUnsizedArraySize : refEntry in compareBufferVarData()
1711 const int refArrayStride = refEntry.arrayStride; in compareBufferVarData()
1712 …const int refTopLevelSize = refEntry.topLevelArraySize == 0 ? refBlockPtr.lastUnsizedArraySize… in compareBufferVarData()
1713 const int refTopLevelStride = refEntry.topLevelArrayStride; in compareBufferVarData()
1740 …const deUint8* refCompPtr = refElemPtr + (refEntry.isRowMajor ? rowNdx*refEntry.matrixStride + col… in compareBufferVarData()
1741 : colNdx*refEntry.matrixStride + rowNdx*compSize); in compareBufferVarData()
1756 …generateImmMatrixSrc(expected, refEntry.type, refEntry.matrixStride, refEntry.isRowMajor, refElemP… in compareBufferVarData()
1758 …log << TestLog::Message << "ERROR: mismatch in " << refEntry.name << ", top-level ndx " << topElem… in compareBufferVarData()
1778 generateImmScalarVectorSrc(expected, refEntry.type, refElemPtr); in compareBufferVarData()
1780 …log << TestLog::Message << "ERROR: mismatch in " << refEntry.name << ", top-level ndx " << topElem… in compareBufferVarData()
1791 …log << TestLog::Message << "... (" << numFailed << " failures for " << refEntry.name << " in total… in compareBufferVarData()
1815 const BufferVarLayoutEntry& refEntry = refLayout.bufferVars[*refVarNdxIter]; in compareData() local
1816 int resVarNdx = resLayout.getVariableIndex(refEntry.name.c_str()); in compareData()
1821 allOk = compareBufferVarData(log, refEntry, refBlockPtr, resEntry, resBlockPtr) && allOk; in compareData()
2335 const BufferVarLayoutEntry& refEntry = refLayout.bufferVars[*ndxIter]; in compareStdBlocks() local
2336 int cmpEntryNdx = cmpLayout.getVariableIndex(refEntry.name.c_str()); in compareStdBlocks()
2340 …log << TestLog::Message << "Error: Buffer variable '" << refEntry.name << "' not found" << TestLog… in compareStdBlocks()
2347 if (refEntry.type != cmpEntry.type || in compareStdBlocks()
2348 refEntry.arraySize != cmpEntry.arraySize || in compareStdBlocks()
2349 refEntry.offset != cmpEntry.offset || in compareStdBlocks()
2350 refEntry.arrayStride != cmpEntry.arrayStride || in compareStdBlocks()
2351 refEntry.matrixStride != cmpEntry.matrixStride || in compareStdBlocks()
2352 refEntry.topLevelArraySize != cmpEntry.topLevelArraySize || in compareStdBlocks()
2353 refEntry.topLevelArrayStride != cmpEntry.topLevelArrayStride || in compareStdBlocks()
2354 refEntry.isRowMajor != cmpEntry.isRowMajor) in compareStdBlocks()
2356 log << TestLog::Message << "Error: Layout mismatch in '" << refEntry.name << "':\n" in compareStdBlocks()
2357 << " expected: " << refEntry << "\n" in compareStdBlocks()
2409 const BufferVarLayoutEntry& refEntry = refLayout.bufferVars[*ndxIter]; in compareSharedBlocks() local
2410 int cmpEntryNdx = cmpLayout.getVariableIndex(refEntry.name.c_str()); in compareSharedBlocks()
2414 …log << TestLog::Message << "Error: Buffer variable '" << refEntry.name << "' not found" << TestLog… in compareSharedBlocks()
2421 if (refEntry.type != cmpEntry.type || in compareSharedBlocks()
2422 refEntry.arraySize != cmpEntry.arraySize || in compareSharedBlocks()
2423 refEntry.topLevelArraySize != cmpEntry.topLevelArraySize || in compareSharedBlocks()
2424 refEntry.isRowMajor != cmpEntry.isRowMajor) in compareSharedBlocks()
2426 log << TestLog::Message << "Error: Type / array size mismatch in '" << refEntry.name << "':\n" in compareSharedBlocks()
2427 << " expected: " << refEntry << "\n" in compareSharedBlocks()
2477 const BufferVarLayoutEntry& refEntry = refLayout.bufferVars[refEntryNdx]; in compareTypes() local
2479 if (refEntry.type != cmpEntry.type) in compareTypes()
2481 … log << TestLog::Message << "Error: Buffer variable type mismatch in '" << refEntry.name << "':\n" in compareTypes()
2482 << " expected: " << glu::getDataTypeName(refEntry.type) << "\n" in compareTypes()
2488 if (refEntry.arraySize < cmpEntry.arraySize) in compareTypes()
2490 …tLog::Message << "Error: Invalid array size in '" << refEntry.name << "': expected <= " << refEntr… in compareTypes()
2494 if (refEntry.topLevelArraySize < cmpEntry.topLevelArraySize) in compareTypes()
2496 …age << "Error: Invalid top-level array size in '" << refEntry.name << "': expected <= " << refEntr… in compareTypes()