From ebb1a07857fe25fdaa66b2f86303bc8fbd621cfe Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 10 Feb 2026 13:56:06 +0100 Subject: fix: Capture scene framebuffer before post-processing for CNN effect CNNEffect's "original" input was black because FadeEffect (priority 1) ran before CNNEffect (priority 1), fading the scene. Changed framebuffer capture to use framebuffer_a (scene output) instead of current_input (post-chain). Also add seq_compiler validation to detect post-process priority collisions within and across concurrent sequences, preventing similar render order issues. Updated stub_types.h WGPULoadOp enum values to match webgpu.h spec. Co-Authored-By: Claude Sonnet 4.5 --- src/platform/stub_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/platform') diff --git a/src/platform/stub_types.h b/src/platform/stub_types.h index f532e04..ff9cccf 100644 --- a/src/platform/stub_types.h +++ b/src/platform/stub_types.h @@ -47,8 +47,9 @@ typedef enum { } WGPUBufferBindingType; typedef enum { - WGPULoadOp_Clear = 0, + WGPULoadOp_Undefined = 0, WGPULoadOp_Load = 1, + WGPULoadOp_Clear = 2, } WGPULoadOp; typedef enum { -- cgit v1.2.3