tests: Add tests for output merger logic ops.

Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Conor McCarthy
2021-10-18 18:28:09 +02:00
committed by Alexandre Julliard
parent 566eeb0465
commit 90d564f798
2 changed files with 154 additions and 5 deletions

View File

@@ -1445,11 +1445,22 @@ typedef enum D3D12_BLEND_OP
typedef enum D3D12_LOGIC_OP
{
D3D12_LOGIC_OP_CLEAR = 0,
D3D12_LOGIC_OP_SET = 1,
D3D12_LOGIC_OP_COPY = 2,
D3D12_LOGIC_OP_COPY_INVERTED = 3,
D3D12_LOGIC_OP_NOOP = 4,
D3D12_LOGIC_OP_CLEAR = 0x0,
D3D12_LOGIC_OP_SET = 0x1,
D3D12_LOGIC_OP_COPY = 0x2,
D3D12_LOGIC_OP_COPY_INVERTED = 0x3,
D3D12_LOGIC_OP_NOOP = 0x4,
D3D12_LOGIC_OP_INVERT = 0x5,
D3D12_LOGIC_OP_AND = 0x6,
D3D12_LOGIC_OP_NAND = 0x7,
D3D12_LOGIC_OP_OR = 0x8,
D3D12_LOGIC_OP_NOR = 0x9,
D3D12_LOGIC_OP_XOR = 0xa,
D3D12_LOGIC_OP_EQUIV = 0xb,
D3D12_LOGIC_OP_AND_REVERSE = 0xc,
D3D12_LOGIC_OP_AND_INVERTED = 0xd,
D3D12_LOGIC_OP_OR_REVERSE = 0xe,
D3D12_LOGIC_OP_OR_INVERTED = 0xf,
} D3D12_LOGIC_OP;
typedef enum D3D12_COLOR_WRITE_ENABLE