mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Transition back to D3D12_RESOURCE_STATE_RENDER_TARGET in test_bufinfo_instruction().
This commit is contained in:
committed by
Alexandre Julliard
parent
8e07423ba1
commit
7393e6ed13
Notes:
Alexandre Julliard
2022-10-18 00:13:00 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/13
@@ -34655,6 +34655,8 @@ static void test_bufinfo_instruction(void)
|
|||||||
D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_COPY_SOURCE);
|
D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_COPY_SOURCE);
|
||||||
check_sub_resource_uvec4(context.render_target, 0, queue, command_list, &test->expected_result);
|
check_sub_resource_uvec4(context.render_target, 0, queue, command_list, &test->expected_result);
|
||||||
reset_command_list(command_list, context.allocator);
|
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);
|
||||||
|
|
||||||
ID3D12Resource_Release(buffer);
|
ID3D12Resource_Release(buffer);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user