summaryrefslogtreecommitdiff
path: root/src/gpu
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-02 17:41:03 +0100
committerskal <pascal.massimino@gmail.com>2026-02-02 17:41:03 +0100
commitdd8203877476993541a2c0e743a5d636fa6ea275 (patch)
tree6d8fa0fcf9b97bff31cd5627fd9624ae4e2516d5 /src/gpu
parent6847a7e1b54c9f76feef0c4110a897600983416e (diff)
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.
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/gpu.cc2
1 files changed, 2 insertions, 0 deletions
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,