d3dretrace: Dump D3D9 textures.