[PATCH 1/4] d3d9/tests: Test user memory with D3DPOOL_SCRATCH.

Henri Verbeet hverbeet at gmail.com
Mon Dec 9 10:27:24 CST 2013


On 9 December 2013 13:28, Stefan Dösinger <stefan at codeweavers.com> wrote:
> The undocumented d3d9ex managed pool with enum value 6 does not allow
> user memory textures either. I'm not including tests for that yet
> until our d3d9 can handle this pool.
I'm not quite sure I see the point of this test. The way the docs say
this works is that in the general case resource sharing only works
with default pool resources. Creating system memory textures with user
memory backing is an exception to that. So I'd expect this test to
fail in the first place because the resource is not in the default
pool, and in the second place because the handle you're passing is
most likely not a valid resource handle.



More information about the wine-devel mailing list