[PATCH 02/10] d3d9/tests: Add a resource access test.