docs: 更新 D3D12 测试设计文档,标记已完成项
This commit is contained in:
@@ -51,8 +51,27 @@ tests/D3D12/
|
||||
|
||||
### 2.2 新测试框架目录
|
||||
|
||||
在 `engine/src/RHI/D3D12/` 下创建新的测试模块:
|
||||
在 `tests/D3D12_engine/test/` 下创建新的测试模块:
|
||||
|
||||
```
|
||||
tests/D3D12_engine/test/ # 新测试目录
|
||||
├── CMakeLists.txt # 测试构建配置
|
||||
├── fixtures/
|
||||
│ ├── D3D12TestFixture.h # 基础测试夹具
|
||||
│ └── D3D12TestFixture.cpp # 夹具实现
|
||||
├── test_device.cpp # D3D12Device 测试
|
||||
├── test_command_queue.cpp # D3D12CommandQueue 测试
|
||||
├── test_command_allocator.cpp # D3D12CommandAllocator 测试
|
||||
├── test_command_list.cpp # D3D12CommandList 测试
|
||||
├── test_buffer.cpp # D3D12Buffer 测试
|
||||
├── test_texture.cpp # D3D12Texture 测试
|
||||
├── test_descriptor_heap.cpp # D3D12DescriptorHeap 测试
|
||||
├── test_pipeline_state.cpp # D3D12PipelineState 测试
|
||||
├── test_root_signature.cpp # D3D12RootSignature 测试
|
||||
├── test_fence.cpp # D3D12Fence 测试
|
||||
├── test_shader.cpp # D3D12Shader 测试
|
||||
├── test_views.cpp # RTV/DSV/SRV/UAV 测试
|
||||
└── test_screenshot.cpp # 截图功能测试
|
||||
```
|
||||
engine/src/RHI/D3D12/
|
||||
├── test/ # 新测试目录
|
||||
@@ -1580,7 +1599,7 @@ target_compile_definitions(d3d12_tests PRIVATE
|
||||
|
||||
## 14. 后续改进
|
||||
|
||||
- [ ] 在 `engine/src/RHI/D3D12/test/` 创建测试夹具文件
|
||||
- [x] 在 `tests/D3D12_engine/test/` 创建测试夹具文件
|
||||
- [ ] 实现 Phase 1 核心基础设施测试
|
||||
- [ ] 实现 Phase 2 资源管理测试
|
||||
- [ ] 实现 Phase 3 渲染管线测试
|
||||
|
||||
Reference in New Issue
Block a user