d3d11/tests: Extend test for ID3D11DeviceContext::UpdateSubresource().
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
3d7c666005
commit
8330635c93
|
@ -4227,6 +4227,9 @@ static void test_update_subresource(void)
|
|||
set_box(&box, 4, 4, 0, 3, 1, 1);
|
||||
ID3D11DeviceContext_UpdateSubresource(context, (ID3D11Resource *)texture, 0, &box,
|
||||
bitmap_data, sizeof(*bitmap_data), 0);
|
||||
set_box(&box, 0, 0, 0, 4, 4, 0);
|
||||
ID3D11DeviceContext_UpdateSubresource(context, (ID3D11Resource *)texture, 0, &box,
|
||||
bitmap_data, 4 * sizeof(*bitmap_data), 0);
|
||||
ID3D11DeviceContext_Draw(context, 4, 0);
|
||||
get_texture_readback(backbuffer, &rb);
|
||||
for (i = 0; i < 4; ++i)
|
||||
|
|
Loading…
Reference in New Issue