From 124899f27b6c1ec02bfa16a57a4e43ea2b7ebac0 Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 3 Feb 2026 10:59:08 +0100 Subject: test(shader): Add ShaderComposer and WGSL asset validation tests (Task #26) Implemented comprehensive unit tests for ShaderComposer and a validation test for production WGSL shader assets. This ensures the shader asset pipeline is robust and that all shaders contain required entry points and snippets. Also improved InitShaderComposer to be more robust during testing. --- assets/final/shaders/test_snippet_b.wgsl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 assets/final/shaders/test_snippet_b.wgsl (limited to 'assets/final/shaders/test_snippet_b.wgsl') diff --git a/assets/final/shaders/test_snippet_b.wgsl b/assets/final/shaders/test_snippet_b.wgsl new file mode 100644 index 0000000..071346e --- /dev/null +++ b/assets/final/shaders/test_snippet_b.wgsl @@ -0,0 +1,4 @@ +// test_snippet_b.wgsl +fn snippet_b() -> f32 { + return 2.0; +} -- cgit v1.2.3