[PATCH 3/5] wined3d: Report WINED3D_FORMAT_CAP_BLIT for formats supporting VK_FORMAT_FEATURE_TRANSFER_SRC or VK_FORMAT_FEATURE_TRANSFER_DST.
Henri Verbeet
hverbeet at gmail.com
Thu Jun 16 04:51:28 CDT 2022
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.
More information about the wine-devel
mailing list