Searched refs:refEntry (Results 1 – 4 of 4) sorted by relevance
1690 bool compareBufferVarData (tcu::TestLog& log, const BufferVarLayoutEntry& refEntry, const BlockData… in compareBufferVarData() argument1692 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()[all …]
1581 const UniformLayoutEntry& refEntry = refLayout.uniforms[*ndxIter]; in compareStd140Blocks() local1582 int cmpEntryNdx = cmpLayout.getUniformIndex(refEntry.name.c_str()); in compareStd140Blocks()1586 …log << TestLog::Message << "Error: Uniform '" << refEntry.name << "' not found" << TestLog::EndMes… in compareStd140Blocks()1593 if (refEntry.type != cmpEntry.type || refEntry.size != cmpEntry.size || in compareStd140Blocks()1594 refEntry.offset != cmpEntry.offset || refEntry.arrayStride != cmpEntry.arrayStride || in compareStd140Blocks()1595 refEntry.matrixStride != cmpEntry.matrixStride || refEntry.isRowMajor != cmpEntry.isRowMajor) in compareStd140Blocks()1597 log << TestLog::Message << "Error: Layout mismatch in '" << refEntry.name << "':\n" in compareStd140Blocks()1598 << " expected: type = " << glu::getDataTypeName(refEntry.type) << ", size = " << refEntry.size in compareStd140Blocks()1599 << ", offset = " << refEntry.offset << ", array stride = " << refEntry.arrayStride in compareStd140Blocks()1600 << ", matrix stride = " << refEntry.matrixStride in compareStd140Blocks()[all …]
1623 const UniformLayoutEntry& refEntry = refLayout.uniforms[*ndxIter]; in compareStd140Blocks() local1624 int cmpEntryNdx = cmpLayout.getUniformIndex(refEntry.name.c_str()); in compareStd140Blocks()1628 …log << TestLog::Message << "Error: Uniform '" << refEntry.name << "' not found" << TestLog::EndMes… in compareStd140Blocks()1635 if (refEntry.type != cmpEntry.type || in compareStd140Blocks()1636 refEntry.size != cmpEntry.size || in compareStd140Blocks()1637 refEntry.offset != cmpEntry.offset || in compareStd140Blocks()1638 refEntry.arrayStride != cmpEntry.arrayStride || in compareStd140Blocks()1639 refEntry.matrixStride != cmpEntry.matrixStride || in compareStd140Blocks()1640 refEntry.isRowMajor != cmpEntry.isRowMajor) in compareStd140Blocks()1642 log << TestLog::Message << "Error: Layout mismatch in '" << refEntry.name << "':\n" in compareStd140Blocks()[all …]
1758 bool compareBufferVarData (tcu::TestLog& log, const BufferVarLayoutEntry& refEntry, const BlockData… in compareBufferVarData() argument1760 DE_ASSERT(resEntry.arraySize <= refEntry.arraySize); in compareBufferVarData()1761 DE_ASSERT(resEntry.topLevelArraySize <= refEntry.topLevelArraySize); in compareBufferVarData()1763 DE_ASSERT(resEntry.type == refEntry.type); in compareBufferVarData()1766 const deUint8* const refBasePtr = (const deUint8*)refBlockPtr.ptr + refEntry.offset; in compareBufferVarData()1767 const glu::DataType scalarType = glu::getDataTypeScalarType(refEntry.type); in compareBufferVarData()1778 …const int refArraySize = refEntry.arraySize == 0 ? refBlockPtr.lastUnsizedArraySize : refEntry… in compareBufferVarData()1779 const int refArrayStride = refEntry.arrayStride; in compareBufferVarData()1780 …const int refTopLevelSize = refEntry.topLevelArraySize == 0 ? refBlockPtr.lastUnsizedArraySize… in compareBufferVarData()1781 const int refTopLevelStride = refEntry.topLevelArrayStride; in compareBufferVarData()[all …]