dxgitrace: Generalize the swapchain size for the entry functions too.