[PATCH 2/5] wined3d: Don't handle dual source blending for <= SM3 shaders.

Henri Verbeet hverbeet at gmail.com
Wed Mar 25 12:36:19 CDT 2020


On Wed, 25 Mar 2020 at 00:58, Matteo Bruni <matteo.mystral at gmail.com> wrote:
> On Tue, Mar 24, 2020 at 8:28 PM Henri Verbeet <hverbeet at gmail.com> wrote:
> > On Tue, 24 Mar 2020 at 21:06, Matteo Bruni <mbruni at codeweavers.com> wrote:
> > >
> > > It was only introduced with SM4.
> > >
> > Actually, d3d9ex has D3DBLEND_SRCCOLOR2 and D3DBLEND_INVSRCCOLOR2. I
> > don't know whether they would currently work, but they're there.
>
> According to d3d9ex.c:test_device_caps() they are only supported on
> the reference rasterizer and WARP. I haven't tried to force them on
> actual HW though.

That's interesting. Note though that in Wine we don't have a separate
refrast/WARP implementation yet.



More information about the wine-devel mailing list