Reordering operations.
Adding texelCoordToVec() without edge fixup.
Reset CPU threadId after processing is done.