On Thursday 01 September 2011 18:46:58 Stefan Dösinger wrote: > Fwiw, the d3d8 and d3d9 device tests fail, no idea why, the d3d9 query test > fails(this is something we can fix). The ddraw, d3d8 and d3d9 visual tests > can't read back the backbuffer, so they refuse to run. This crash happens in the CreateDevice call that uses the D3DCREATE_FPU_PRESERVE flag. The exception is a division by zero exception in the driver.
I had a quick look at the D3DCREATE_FPU_PRESERVE code: shouldn't we do something like ddraw where we set the FPU control word in every method and restore it afterwards? I think we can't blame the driver for crashing if we hand it over the FPU in a messed up state. It probably needs some more test, e.g. what do methods other than CreateDevice do when FPU_PRESERVE is not set and the FPU is in some non-standard mode. No idea yet why the visual tests don't work.
signature.asc
Description: This is a digitally signed message part.
