[PATCH 1/2] ddraw/tests: Add more managed texture tests.

Akihiro Sagawa sagawa.aki at gmail.com
Mon Mar 30 10:08:06 CDT 2020

On Sun, 29 Mar 2020 14:29:26 +0200, Stefan Dösinger wrote:
> > +                DDSCAPS2_TEXTUREMANAGE },
> What happens if you try to create a device on such a surface or assign
> it as a render target for an existing device?
> I expect the answer to be somewhere between "driver dependent error
> code" and "BSOD", but it would be good to check.

See https://testbot.winehq.org/JobDetails.pl?Key=68471 .
In short,
 - Creating a device returns D3DERR_SURFACENOTINVIDMEM,
 - Setting as a render target returns D3D_OK.

However, the latter case is failed with DDERR_INVALIDPARAMS on Ryzen PC,
AMD Radeon(TM) Vega 11 Graphics.

I also tested rendering target case in test_edge_antialiasing_blending().
It crashes after BeginScene() on Intel(R) HD Graphics 520, but on
testbots it doesn't.

I'll improve the test based on these knowledge. Thanks for your comment.

Akihiro Sagawa

More information about the wine-devel mailing list