include: Add d3d9 enum values and defines for dual source blending.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Matteo Bruni 2018-03-09 12:10:41 -06:00 committed by Alexandre Julliard
parent 009765bb63
commit 5147ffe42e
2 changed files with 22 additions and 14 deletions

View File

@ -73,20 +73,24 @@
#define D3DLINECAPS_FOG 0x10
#define D3DLINECAPS_ANTIALIAS 0x20
#define D3DPBLENDCAPS_ZERO 0x00000001
#define D3DPBLENDCAPS_ONE 0x00000002
#define D3DPBLENDCAPS_SRCCOLOR 0x00000004
#define D3DPBLENDCAPS_INVSRCCOLOR 0x00000008
#define D3DPBLENDCAPS_SRCALPHA 0x00000010
#define D3DPBLENDCAPS_INVSRCALPHA 0x00000020
#define D3DPBLENDCAPS_DESTALPHA 0x00000040
#define D3DPBLENDCAPS_INVDESTALPHA 0x00000080
#define D3DPBLENDCAPS_DESTCOLOR 0x00000100
#define D3DPBLENDCAPS_INVDESTCOLOR 0x00000200
#define D3DPBLENDCAPS_SRCALPHASAT 0x00000400
#define D3DPBLENDCAPS_BOTHSRCALPHA 0x00000800
#define D3DPBLENDCAPS_BOTHINVSRCALPHA 0x00001000
#define D3DPBLENDCAPS_BLENDFACTOR 0x00002000
#define D3DPBLENDCAPS_ZERO __MSABI_LONG(0x00000001)
#define D3DPBLENDCAPS_ONE __MSABI_LONG(0x00000002)
#define D3DPBLENDCAPS_SRCCOLOR __MSABI_LONG(0x00000004)
#define D3DPBLENDCAPS_INVSRCCOLOR __MSABI_LONG(0x00000008)
#define D3DPBLENDCAPS_SRCALPHA __MSABI_LONG(0x00000010)
#define D3DPBLENDCAPS_INVSRCALPHA __MSABI_LONG(0x00000020)
#define D3DPBLENDCAPS_DESTALPHA __MSABI_LONG(0x00000040)
#define D3DPBLENDCAPS_INVDESTALPHA __MSABI_LONG(0x00000080)
#define D3DPBLENDCAPS_DESTCOLOR __MSABI_LONG(0x00000100)
#define D3DPBLENDCAPS_INVDESTCOLOR __MSABI_LONG(0x00000200)
#define D3DPBLENDCAPS_SRCALPHASAT __MSABI_LONG(0x00000400)
#define D3DPBLENDCAPS_BOTHSRCALPHA __MSABI_LONG(0x00000800)
#define D3DPBLENDCAPS_BOTHINVSRCALPHA __MSABI_LONG(0x00001000)
#define D3DPBLENDCAPS_BLENDFACTOR __MSABI_LONG(0x00002000)
#ifndef D3D_DISABLE_9EX
#define D3DPBLENDCAPS_SRCCOLOR2 __MSABI_LONG(0x00004000)
#define D3DPBLENDCAPS_INVSRCCOLOR2 __MSABI_LONG(0x00008000)
#endif
#define D3DPCMPCAPS_NEVER 0x01
#define D3DPCMPCAPS_LESS 0x02

View File

@ -679,6 +679,10 @@ typedef enum _D3DBLEND {
D3DBLEND_BOTHINVSRCALPHA = 13,
D3DBLEND_BLENDFACTOR = 14,
D3DBLEND_INVBLENDFACTOR = 15,
#ifndef D3D_DISABLE_9EX
D3DBLEND_SRCCOLOR2 = 16,
D3DBLEND_INVSRCCOLOR2 = 17,
#endif
D3DBLEND_FORCE_DWORD = 0x7fffffff
} D3DBLEND;