[PATCH 3/5] d3d11/tests: Extend test for UAV counters.
Józef Kucia
jkucia at codeweavers.com
Mon Aug 14 16:47:43 CDT 2017
Signed-off-by: Józef Kucia <jkucia at codeweavers.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 3ee36c9285..d346f5e3f2 100644
--- a/dlls/d3d11/tests/d3d11.c
+++ b/dlls/d3d11/tests/d3d11.c
@@ -17972,6 +17972,13 @@ static void test_uav_counters(void)
ID3D11DeviceContext_CSSetUnorderedAccessViews(context, 0, 1, &uav, &data);
data = read_uav_counter(context, staging_buffer, uav);
ok(data == 8, "Got unexpected value %u.\n", data);
+ data = ~0u;
+ ID3D11DeviceContext_CSSetUnorderedAccessViews(context, 0, 1, &uav, &data);
+ data = read_uav_counter(context, staging_buffer, uav);
+ ok(data == 8, "Got unexpected value %u.\n", data);
+ ID3D11DeviceContext_CSSetUnorderedAccessViews(context, 0, 1, &uav, NULL);
+ data = read_uav_counter(context, staging_buffer, uav);
+ ok(data == 8, "Got unexpected value %u.\n", data);
ID3D11DeviceContext_CSSetShader(context, cs_producer, NULL, 0);
data = 0;
--
2.13.0
More information about the wine-patches
mailing list