[PATCH v3 1/3] d3dcompiler/tests: Rewrite to use a separate d3d9 device for each test.