[PATCH 5/5] wined3d: Implement basic volume location management

Henri Verbeet hverbeet at gmail.com
Thu Aug 22 06:14:59 CDT 2013


On 22 August 2013 13:07, Stefan Dösinger <stefan at codeweavers.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am 2013-08-22 12:58, schrieb Henri Verbeet:
>> Yes, but if "pool" goes away we need some other way to check for
>> scratch resources. It's just that in retrospect the access flags
>> probably aren't the right place.
> If pool goes to d3d8/9, the checks should go to d3d8/9 as well.
>
You can't do that properly. The basic issue is that some formats are
valid for scratch resources, but aren't for sysmem resources. (There
are a bunch of other restrictions we don't currently check on resource
creation either, but that's not the point here.) So we need some way
to determine if a resource is a scratch resource or not in wined3d, at
the very least on resource creation.



More information about the wine-devel mailing list