tests: Test ClearRenderTargetView() with R8G8B8A8_{SINT, UINT} formats.

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:
Jactry Zeng
2019-07-30 11:40:28 +02:00
committed by Alexandre Julliard
parent b1c417a578
commit 5b8c4e57f1
2 changed files with 44 additions and 27 deletions

View File

@@ -88,9 +88,9 @@ static inline void reset_command_list_(unsigned int line,
HRESULT hr;
hr = ID3D12CommandAllocator_Reset(allocator);
ok_(line)(SUCCEEDED(hr), "Failed to reset command allocator, hr %#x.\n", hr);
assert_that_(line)(hr == S_OK, "Failed to reset command allocator, hr %#x.\n", hr);
hr = ID3D12GraphicsCommandList_Reset(list, allocator, NULL);
ok_(line)(SUCCEEDED(hr), "Failed to reset command list, hr %#x.\n", hr);
assert_that_(line)(hr == S_OK, "Failed to reset command list, hr %#x.\n", hr);
}
#define queue_signal(a, b, c) queue_signal_(__LINE__, a, b, c)