From 5eba3e77c58941ee02257f077a80558dd152a52e Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 16 Feb 2026 16:28:41 +0100 Subject: fix: load rotating_cube_v2 shader from asset instead of empty string RotatingCubeEffect was failing with "Unable to find entry point 'vs_main'" because shader was hardcoded to empty string. Load from ASSET_SHADER_ROTATING_CUBE_V2. Fixes DemoEffectsTest (34/34 tests now pass). Co-Authored-By: Claude Sonnet 4.5 --- src/gpu/shaders.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gpu/shaders.cc b/src/gpu/shaders.cc index d4c13ba..4017726 100644 --- a/src/gpu/shaders.cc +++ b/src/gpu/shaders.cc @@ -178,6 +178,7 @@ const char* particle_compute_v2_wgsl = const char* particle_render_v2_wgsl = SafeGetAsset(AssetId::ASSET_SHADER_PARTICLE_RENDER); -const char* rotating_cube_v2_wgsl = ""; +const char* rotating_cube_v2_wgsl = + SafeGetAsset(AssetId::ASSET_SHADER_ROTATING_CUBE_V2); const char* flash_shader_wgsl = SafeGetAsset(AssetId::ASSET_SHADER_FLASH); -- cgit v1.2.3