summaryrefslogtreecommitdiff
path: root/src/gpu/texture_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/texture_manager.h')
-rw-r--r--src/gpu/texture_manager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gpu/texture_manager.h b/src/gpu/texture_manager.h
index ec30c7b..a5462ae 100644
--- a/src/gpu/texture_manager.h
+++ b/src/gpu/texture_manager.h
@@ -93,6 +93,13 @@ class TextureManager {
const GpuProceduralParams& params,
const void* uniform_data, size_t uniform_size);
+ // Shared helper: create pipeline + storage texture + dispatch + store result
+ void create_gpu_procedural(const std::string& name,
+ const std::string& func_name,
+ const char* shader_code,
+ const GpuProceduralParams& params,
+ const void* uniform_data, size_t uniform_size);
+
#if !defined(STRIP_GPU_COMPOSITE)
void dispatch_composite(const std::string& func_name, WGPUTexture target,
const GpuProceduralParams& params,