【关键节点】修复D3D12CommandQueue::ExecuteCommandLists类型混淆bug并完善集成测试配置
1. D3D12CommandQueue::ExecuteCommandLists修复:确保正确调用GetNativeHandle() 2. 集成测试修复:传递&gCommandList而不是gCommandList.GetCommandList() 3. CMakeLists.txt修复:添加renderdoc.dll到所有D3D12/OpenGL集成测试的POST_BUILD命令 测试验证: - 单元测试:144/144通过 - D3D12集成测试:minimal/quad/triangle/sphere全部通过 - OpenGL集成测试:minimal/quad/triangle/sphere全部通过
This commit is contained in:
@@ -370,7 +370,7 @@ void WaitForGPU() {
|
||||
|
||||
void ExecuteCommandList() {
|
||||
gCommandList.Close();
|
||||
void* commandLists[] = { gCommandList.GetCommandList() };
|
||||
void* commandLists[] = { &gCommandList };
|
||||
gCommandQueue.ExecuteCommandLists(1, commandLists);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user