mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Destroy placed resources after destroying heap.
In order to exercise that the destroyed heap isn't accessed. 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
5243b8c3f6
commit
c648ea85aa
@ -6769,11 +6769,11 @@ static void test_map_placed_resources(void)
|
||||
release_resource_readback(&rb);
|
||||
|
||||
ID3D12Resource_Release(uav_buffer);
|
||||
for (i = 0; i < ARRAY_SIZE(cb); ++i)
|
||||
ID3D12Resource_Release(cb[i]);
|
||||
ID3D12Resource_Release(readback_buffer);
|
||||
ID3D12Heap_Release(upload_heap);
|
||||
ID3D12Heap_Release(readback_heap);
|
||||
for (i = 0; i < ARRAY_SIZE(cb); ++i)
|
||||
ID3D12Resource_Release(cb[i]);
|
||||
destroy_test_context(&context);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user