[PATCH 3/5] wined3d: Report WINED3D_FORMAT_CAP_BLIT for formats supporting VK_FORMAT_FEATURE_TRANSFER_SRC or VK_FORMAT_FEATURE_TRANSFER_DST.

Zebediah Figura zfigura at codeweavers.com
Thu Jun 16 14:02:34 CDT 2022


On 6/16/22 04:51, Henri Verbeet wrote:
> On Wed, 15 Jun 2022 at 23:56, Zebediah Figura <wine at gitlab.winehq.org> wrote:
>> +    if ((texture_flags & VK_FORMAT_FEATURE_TRANSFER_SRC_BIT)
>> +            && (texture_flags & VK_FORMAT_FEATURE_TRANSFER_DST_BIT))
>> +    {
>> +        caps |= WINED3D_FORMAT_CAP_BLIT;
>> +    }
> 
> This checks for the source AND destination bits. I think that's
> correct, but it's different from what the commit message says.
> 

Indeed, that was an error in the commit message; thanks for pointing 
that out.



More information about the wine-devel mailing list