[PATCH 5/5] d3d10core/tests: Port test_viewport() to d3d10core.