[PATCH 6/7] d3d12/tests: Fix resource state transitions in test_swapchain_draw().