2026-03-17 02:51:34 +08:00
|
|
|
#include "fixtures/D3D12TestFixture.h"
|
|
|
|
|
|
2026-03-20 03:18:30 +08:00
|
|
|
TEST_F(D3D12TestFixture, CommandList_Close_Basic) {
|
2026-03-17 03:47:51 +08:00
|
|
|
HRESULT hr = GetCommandList()->Close();
|
|
|
|
|
ASSERT_HRESULT_SUCCEEDED(hr);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-20 03:18:30 +08:00
|
|
|
TEST_F(D3D12TestFixture, CommandList_Get_Desc) {
|
2026-03-17 03:47:51 +08:00
|
|
|
D3D12_COMMAND_LIST_TYPE type = GetCommandList()->GetType();
|
|
|
|
|
EXPECT_EQ(type, D3D12_COMMAND_LIST_TYPE_DIRECT);
|
2026-03-17 02:51:34 +08:00
|
|
|
}
|