d3d11/tests: Test specifying the multisample mask via OMSetBlendState().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2020-09-02 00:27:39 -05:00 committed by Alexandre Julliard
parent 61f3b3dcdf
commit 87ab21dd35
1 changed files with 7 additions and 0 deletions

View File

@ -29012,6 +29012,13 @@ static void test_sample_mask(void)
(ID3D11Resource *)texture, 0, texture_desc.Format);
check_texture_color(test_context.backbuffer, 0x7f7f7f7f, 1);
ID3D11DeviceContext_OMSetBlendState(context, NULL, NULL, 0xb);
ID3D11DeviceContext_ClearRenderTargetView(context, rtv, black);
draw_quad(&test_context);
ID3D11DeviceContext_ResolveSubresource(context, (ID3D11Resource *)test_context.backbuffer, 0,
(ID3D11Resource *)texture, 0, texture_desc.Format);
todo_wine check_texture_color(test_context.backbuffer, 0x3f3f3f3f, 1);
ID3D11RenderTargetView_Release(rtv);
ID3D11Texture2D_Release(texture);
ID3D11PixelShader_Release(ps);