From: Henri Verbeet Subject: Re: [PATCH 2/5] wined3d: Don't handle dual source blending for <= SM3 shaders. Message-Id: Date: Wed, 25 Mar 2020 22:06:19 +0430 In-Reply-To: References: <20200324163524.339139-1-mbruni@codeweavers.com> <20200324163524.339139-2-mbruni@codeweavers.com> On Wed, 25 Mar 2020 at 00:58, Matteo Bruni wrote: > On Tue, Mar 24, 2020 at 8:28 PM Henri Verbeet wrote: > > On Tue, 24 Mar 2020 at 21:06, Matteo Bruni 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.