Added function to check both vertex and index transient buffers.