[PATCH 2/2] wined3d: Add support for SRCCOLOR2, INVSRCCOLOR2, SRCALPHA2 and INVSRCALPHA2 blend modes.

Henri Verbeet hverbeet at gmail.com
Fri Feb 3 07:30:04 CST 2017


On 2 February 2017 at 19:29, Guillaume Charifi <guillaume.charifi at sfr.fr> wrote:
> diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
> index 4b0ea06..0b801eb 100644
> --- a/include/wine/wined3d.h
> +++ b/include/wine/wined3d.h
> @@ -400,6 +400,10 @@ enum wined3d_blend
>      WINED3D_BLEND_BOTHINVSRCALPHA           = 13,
>      WINED3D_BLEND_BLENDFACTOR               = 14,
>      WINED3D_BLEND_INVBLENDFACTOR            = 15,
> +    WINED3D_BLEND_SRCCOLOR2                 = 16,
> +    WINED3D_BLEND_INVSRCCOLOR2              = 17,
> +    WINED3D_BLEND_SRCALPHA2                 = 18,
> +    WINED3D_BLEND_INVSRCALPHA2              = 19,
>  };
>
What is this naming based on? In d3d11 these are called
"D3D11_BLEND_INV_SRC1_ALPHA", etc.



More information about the wine-devel mailing list