【关键节点】修复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:
2026-03-24 05:00:38 +08:00
parent 0a3fe842b9
commit eb4840eac4
11 changed files with 23 additions and 5 deletions

View File

@@ -370,7 +370,7 @@ void WaitForGPU() {
void ExecuteCommandList() {
gCommandList.Close();
void* commandLists[] = { gCommandList.GetCommandList() };
void* commandLists[] = { &gCommandList };
gCommandQueue.ExecuteCommandLists(1, commandLists);
}