From dd8203877476993541a2c0e743a5d636fa6ea275 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 2 Feb 2026 17:41:03 +0100 Subject: feat(test): Add comprehensive math and shader composer tests - Implemented test_shader_composer.cc to verify WGSL snippet assembly. - Expanded test_maths.cc with rigorous matrix inversion and transposition checks. - Verified that A * inv(A) equals Identity for various TRS combinations. - Updated CMakeLists.txt to include the new test targets. --- src/gpu/gpu.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gpu') diff --git a/src/gpu/gpu.cc b/src/gpu/gpu.cc index a779aa6..7406113 100644 --- a/src/gpu/gpu.cc +++ b/src/gpu/gpu.cc @@ -52,6 +52,8 @@ static WGPUSurfaceConfiguration g_config = {}; static MainSequence g_main_sequence; +extern void InitShaderComposer(); + // --- Helper Functions --- GpuBuffer gpu_create_buffer(WGPUDevice device, size_t size, uint32_t usage, -- cgit v1.2.3