[PATCH 1/5] d3d11/tests: Test specifying the multisample mask via OMSetBlendState().
Zebediah Figura
z.figura12 at gmail.com
Wed Sep 2 00:27:39 CDT 2020
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/d3d11/tests/d3d11.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dlls/d3d11/tests/d3d11.c b/dlls/d3d11/tests/d3d11.c
index e107d522b20..4704dad1aa3 100644
--- a/dlls/d3d11/tests/d3d11.c
+++ b/dlls/d3d11/tests/d3d11.c
@@ -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);
--
2.28.0
More information about the wine-devel
mailing list