summaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-10 13:56:06 +0100
committerskal <pascal.massimino@gmail.com>2026-02-10 13:56:06 +0100
commitebb1a07857fe25fdaa66b2f86303bc8fbd621cfe (patch)
tree3e5920c9336a328eff83d0d66a5bafee22c69d66 /src/platform
parent6944733a6a2f05c18e7e0b73f847a4c9144801fd (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/stub_types.h3
1 files changed, 2 insertions, 1 deletions
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 {