Commit 87ab21dd authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

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

parent 61f3b3dc
...@@ -29012,6 +29012,13 @@ static void test_sample_mask(void) ...@@ -29012,6 +29012,13 @@ static void test_sample_mask(void)
(ID3D11Resource *)texture, 0, texture_desc.Format); (ID3D11Resource *)texture, 0, texture_desc.Format);
check_texture_color(test_context.backbuffer, 0x7f7f7f7f, 1); 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); ID3D11RenderTargetView_Release(rtv);
ID3D11Texture2D_Release(texture); ID3D11Texture2D_Release(texture);
ID3D11PixelShader_Release(ps); ID3D11PixelShader_Release(ps);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment