d3d8/tests: Port part of the fixed function attributes test to D3D8.