d3d11/tests: Extend test for UAV counters.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
59f96ff3a5
commit
c068e9a47a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue