mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
tests: Add more tests for mapping texture on custom heaps.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> 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
a1ec97ca2a
commit
c726a1df0a
@ -5969,6 +5969,11 @@ static void test_map_resource(void)
|
||||
ok(hr == E_INVALIDARG, "Got unexpected hr %#x.\n", hr);
|
||||
ok(data == (void *)0xdeadbeef, "Pointer was modified %p.\n", data);
|
||||
|
||||
/* Texture on custom heaps can be mapped, but the address doesn't get disclosed to applications */
|
||||
hr = ID3D12Resource_Map(resource, 0, NULL, NULL);
|
||||
todo ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);
|
||||
ID3D12Resource_Unmap(resource, 0, NULL);
|
||||
|
||||
ID3D12Resource_Release(resource);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user