Searched refs:dstEntry (Results 1 – 4 of 4) sorted by relevance
1550 void copyBufferVarData (const BufferVarLayoutEntry& dstEntry, const BlockDataPtr& dstBlockPtr, cons… in copyBufferVarData() argument1552 DE_ASSERT(dstEntry.arraySize <= srcEntry.arraySize); in copyBufferVarData()1553 DE_ASSERT(dstEntry.topLevelArraySize <= srcEntry.topLevelArraySize); in copyBufferVarData()1555 DE_ASSERT(dstEntry.type == srcEntry.type); in copyBufferVarData()1557 deUint8* const dstBasePtr = (deUint8*)dstBlockPtr.ptr + dstEntry.offset; in copyBufferVarData()1559 const int scalarSize = glu::getDataTypeScalarSize(dstEntry.type); in copyBufferVarData()1560 const bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyBufferVarData()1561 glu::DataType scalarType = glu::getDataTypeScalarType(dstEntry.type); in copyBufferVarData()1563 …const int dstArraySize = dstEntry.arraySize == 0 ? dstBlockPtr.lastUnsizedArraySize : dstEntry… in copyBufferVarData()1564 const int dstArrayStride = dstEntry.arrayStride; in copyBufferVarData()[all …]
1216 void copyUniformData(const UniformLayoutEntry& dstEntry, void* dstBlockPtr, const UniformLayoutEntr… in copyUniformData() argument1219 deUint8* dstBasePtr = (deUint8*)dstBlockPtr + dstEntry.offset; in copyUniformData()1222 DE_ASSERT(dstEntry.size <= srcEntry.size); in copyUniformData()1223 DE_ASSERT(dstEntry.type == srcEntry.type); in copyUniformData()1225 int scalarSize = glu::getDataTypeScalarSize(dstEntry.type); in copyUniformData()1226 bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyUniformData()1229 for (int elementNdx = 0; elementNdx < dstEntry.size; elementNdx++) in copyUniformData()1231 deUint8* dstElemPtr = dstBasePtr + elementNdx * dstEntry.arrayStride; in copyUniformData()1236 int numRows = glu::getDataTypeMatrixNumRows(dstEntry.type); in copyUniformData()1237 int numCols = glu::getDataTypeMatrixNumColumns(dstEntry.type); in copyUniformData()[all …]
1484 void copyBufferVarData (const BufferVarLayoutEntry& dstEntry, const BlockDataPtr& dstBlockPtr, cons… in copyBufferVarData() argument1486 DE_ASSERT(dstEntry.arraySize <= srcEntry.arraySize); in copyBufferVarData()1487 DE_ASSERT(dstEntry.topLevelArraySize <= srcEntry.topLevelArraySize); in copyBufferVarData()1489 DE_ASSERT(dstEntry.type == srcEntry.type); in copyBufferVarData()1491 deUint8* const dstBasePtr = (deUint8*)dstBlockPtr.ptr + dstEntry.offset; in copyBufferVarData()1493 const int scalarSize = glu::getDataTypeScalarSize(dstEntry.type); in copyBufferVarData()1494 const bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyBufferVarData()1496 …const int dstArraySize = dstEntry.arraySize == 0 ? dstBlockPtr.lastUnsizedArraySize : dstEntry… in copyBufferVarData()1497 const int dstArrayStride = dstEntry.arrayStride; in copyBufferVarData()1498 …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 …]