[PATCH v2] d3dx10/tests: Add tests for D3DX10CreateTextureFromMemory.