d3d9/tests: Add test for surface format conversion

Henri Verbeet hverbeet at gmail.com
Tue Jul 6 16:00:22 CDT 2010


On 6 July 2010 22:38, Bjørnar Hansen <tilbjornar at gmail.com> wrote:
> On Mon, Jul 5, 2010 at 21:23, Henri Verbeet <hverbeet at gmail.com> wrote:
>> You're supposed to call IDirect3D9_CheckDeviceFormatConversion() to
>> determine which conversions are supported.
>>
>
> Currently, that method always returns OK. Seems pointless to use it,
> but I've implemented it in my revised patch.
>
Well yeah, it's essentially unimplemented, but that may even be the
issue in some cases. The point is that you can't really depend on any
conversion being available before checking for it first.

> Looking at [1], should we test for all combinations of source/target formats?
>
Depends. What are you trying to prove / find out with this test?



More information about the wine-devel mailing list