Searched refs:dstVA (Results 1 – 1 of 1) sorted by relevance
301 static void copyToLayout (void* dstBasePtr, const VertexAttributeDescriptor& dstVA, const VertexArr… in copyToLayout() argument303 DE_ASSERT(dstVA.componentType == srcPtr.componentType && in copyToLayout()304 dstVA.numComponents == srcPtr.numComponents && in copyToLayout()305 dstVA.numElements == srcPtr.numElements); in copyToLayout()307 const int elementSize = getVtxCompSize(dstVA.componentType)*dstVA.numComponents; in copyToLayout()309 const bool dstHasCustomStride = dstVA.stride != 0 && dstVA.stride != elementSize; in copyToLayout()313 const int dstStride = dstVA.stride != 0 ? dstVA.stride : elementSize; in copyToLayout()316 for (int ndx = 0; ndx < dstVA.numElements; ndx++) in copyToLayout()317 …deMemcpy((deUint8*)dstBasePtr + (deUintptr)dstVA.pointer + ndx*dstStride, (const deUint8*)srcPtr.d… in copyToLayout()320 …deMemcpy((deUint8*)dstBasePtr + (deUintptr)dstVA.pointer, srcPtr.data, elementSize*dstVA.numElemen… in copyToLayout()