[PATCH 4/4] d3dx10/tests: Add code for generating test data.