[PATCH] d3d11/tests: Add test for ClearRenderTargetView.

Pablo Martin pmart-wine at riseup.net
Tue May 15 12:09:11 CDT 2018


I stumbled upon this testing problem, where the tested colour differs between wine and windows.

Tested on ubuntu 17.10 and all windows versions on testbot.

Signed-off-by: Pablo Martin <pmart-wine at riseup.net>
---
 dlls/d3d11/tests/d3d11.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/d3d11/tests/d3d11.c b/dlls/d3d11/tests/d3d11.c
index 63f964a461..307a966ac3 100644
--- a/dlls/d3d11/tests/d3d11.c
+++ b/dlls/d3d11/tests/d3d11.c
@@ -11581,6 +11581,7 @@ static void test_copy_subresource_region(void)
     ID3D11DeviceContext_PSSetShader(context, ps, NULL, 0);
 
     ID3D11DeviceContext_ClearRenderTargetView(context, test_context.backbuffer_rtv, red);
+    todo_wine check_texture_color(test_context.backbuffer, 0x800000ff, 0);
 
     set_box(&box, 0, 0, 0, 2, 2, 1);
     ID3D11DeviceContext_CopySubresourceRegion(context, (ID3D11Resource *)dst_texture, 0,
-- 
2.14.1




More information about the wine-devel mailing list