ssdfasd
720dd422d5
RHI: Add Compute/Dispatch unit tests (P1-7) and fix shader type bugs
Bug fixes:
- D3D12Shader::Compile: Set m_type based on target string (cs_/vs_/ps_/gs_)
- OpenGLShader::Compile: Parse target parameter to determine shader type
- OpenGLShader::CompileCompute: Set m_type = ShaderType::Compute
- D3D12CommandList::SetPipelineState: Use correct PSO handle for Compute
New tests (test_compute.cpp, 8 tests):
- ComputeShader_Compile_ValidShader
- ComputeShader_GetType_ReturnsCompute
- ComputeShader_Shutdown_Invalidates
- PipelineState_SetComputeShader
- PipelineState_HasComputeShader_ReturnsTrue
- PipelineState_GetType_Compute
- PipelineState_EnsureValid_Compute
- CommandList_Dispatch_Basic
Test results: 232/232 passed (D3D12: 116, OpenGL: 116)
2026-03-25 13:52:11 +08:00
..
2026-03-24 23:00:49 +08:00
2026-03-25 13:52:11 +08:00
2026-03-23 19:17:32 +08:00
2026-03-25 00:37:18 +08:00
2026-03-24 03:49:13 +08:00
2026-03-25 13:52:11 +08:00
2026-03-25 13:21:13 +08:00
2026-03-24 23:00:49 +08:00
2026-03-23 18:53:29 +08:00
2026-03-24 01:53:00 +08:00
2026-03-25 13:03:07 +08:00
2026-03-25 12:28:33 +08:00
2026-03-25 13:03:07 +08:00
2026-03-23 19:17:32 +08:00
2026-03-25 12:00:26 +08:00
2026-03-24 23:00:49 +08:00
2026-03-23 21:09:15 +08:00