d3d10core/tests: Port test_resinfo_instruction() from d3d11.