summaryrefslogtreecommitdiff
path: root/src/gpu/post_process_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/post_process_helper.h')
-rw-r--r--src/gpu/post_process_helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpu/post_process_helper.h b/src/gpu/post_process_helper.h
index 5a7e9fd..33ef20b 100644
--- a/src/gpu/post_process_helper.h
+++ b/src/gpu/post_process_helper.h
@@ -31,6 +31,11 @@ WGPURenderPipeline create_post_process_pipeline(WGPUDevice device,
WGPUTextureFormat format,
const char* shader_code);
+// Helper to create a simple post-processing pipeline (no effect params, 3 bindings only)
+WGPURenderPipeline create_post_process_pipeline_simple(WGPUDevice device,
+ WGPUTextureFormat format,
+ const char* shader_code);
+
// Helper to update bind group for post-processing effects
void pp_update_bind_group(WGPUDevice device, WGPURenderPipeline pipeline,
WGPUBindGroup* bind_group, WGPUTextureView input_view,