Searched refs:dstEntry (Results 1 – 3 of 3) sorted by relevance
1248 void copyBufferVarData (const BufferVarLayoutEntry& dstEntry, const BlockDataPtr& dstBlockPtr, cons… in copyBufferVarData() argument1250 DE_ASSERT(dstEntry.arraySize <= srcEntry.arraySize); in copyBufferVarData()1251 DE_ASSERT(dstEntry.topLevelArraySize <= srcEntry.topLevelArraySize); in copyBufferVarData()1253 DE_ASSERT(dstEntry.type == srcEntry.type); in copyBufferVarData()1255 deUint8* const dstBasePtr = (deUint8*)dstBlockPtr.ptr + dstEntry.offset; in copyBufferVarData()1257 const int scalarSize = glu::getDataTypeScalarSize(dstEntry.type); in copyBufferVarData()1258 const bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyBufferVarData()1260 …const int dstArraySize = dstEntry.arraySize == 0 ? dstBlockPtr.lastUnsizedArraySize : dstEntry… in copyBufferVarData()1261 const int dstArrayStride = dstEntry.arrayStride; in copyBufferVarData()1262 …const int dstTopLevelSize = dstEntry.topLevelArraySize == 0 ? dstBlockPtr.lastUnsizedArraySize… in copyBufferVarData()[all …]
1470 void copyBufferVarData (const BufferVarLayoutEntry& dstEntry, const BlockDataPtr& dstBlockPtr, cons… in copyBufferVarData() argument1472 DE_ASSERT(dstEntry.arraySize <= srcEntry.arraySize); in copyBufferVarData()1473 DE_ASSERT(dstEntry.topLevelArraySize <= srcEntry.topLevelArraySize); in copyBufferVarData()1475 DE_ASSERT(dstEntry.type == srcEntry.type); in copyBufferVarData()1477 deUint8* const dstBasePtr = (deUint8*)dstBlockPtr.ptr + dstEntry.offset; in copyBufferVarData()1479 const int scalarSize = glu::getDataTypeScalarSize(dstEntry.type); in copyBufferVarData()1480 const bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyBufferVarData()1482 …const int dstArraySize = dstEntry.arraySize == 0 ? dstBlockPtr.lastUnsizedArraySize : dstEntry… in copyBufferVarData()1483 const int dstArrayStride = dstEntry.arrayStride; in copyBufferVarData()1484 …const int dstTopLevelSize = dstEntry.topLevelArraySize == 0 ? dstBlockPtr.lastUnsizedArraySize… in copyBufferVarData()[all …]
1266 void copyUniformData (const UniformLayoutEntry& dstEntry, void* dstBlockPtr, const UniformLayoutEnt… in copyUniformData() argument1268 deUint8* dstBasePtr = (deUint8*)dstBlockPtr + dstEntry.offset; in copyUniformData()1271 DE_ASSERT(dstEntry.size <= srcEntry.size); in copyUniformData()1272 DE_ASSERT(dstEntry.type == srcEntry.type); in copyUniformData()1274 int scalarSize = glu::getDataTypeScalarSize(dstEntry.type); in copyUniformData()1275 bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyUniformData()1278 for (int elementNdx = 0; elementNdx < dstEntry.size; elementNdx++) in copyUniformData()1280 deUint8* dstElemPtr = dstBasePtr + elementNdx*dstEntry.arrayStride; in copyUniformData()1285 int numRows = glu::getDataTypeMatrixNumRows(dstEntry.type); in copyUniformData()1286 int numCols = glu::getDataTypeMatrixNumColumns(dstEntry.type); in copyUniformData()[all …]