Józef Kucia : d3d12/tests: Fix resource state transitions in test_swapchain_draw().