Make sure that all 1D textures are power of 2. Also, transfer a lock table.