tests: Add missing resource barrier to test_texture().

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:
Józef Kucia 2018-09-13 11:26:02 +02:00 committed by Alexandre Julliard
parent b9d7569b8c
commit ee0c715e7d
1 changed files with 2 additions and 0 deletions

View File

@ -9203,6 +9203,8 @@ static void test_texture(void)
ID3D12Resource_Release(texture);
reset_command_list(command_list, context.allocator);
transition_resource_state(command_list, context.render_target,
D3D12_RESOURCE_STATE_COPY_SOURCE, D3D12_RESOURCE_STATE_RENDER_TARGET);
}
ID3D12DescriptorHeap_Release(heap);