diff options
Diffstat (limited to 'src/gpu/effects/cnn_v2_effect.h')
| -rw-r--r-- | src/gpu/effects/cnn_v2_effect.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gpu/effects/cnn_v2_effect.h b/src/gpu/effects/cnn_v2_effect.h index 28aec8c..47dedf5 100644 --- a/src/gpu/effects/cnn_v2_effect.h +++ b/src/gpu/effects/cnn_v2_effect.h @@ -47,6 +47,11 @@ private: float blend_amount; }; + struct StaticFeatureParams { + uint32_t mip_level; + uint32_t padding[3]; + }; + void create_textures(); void create_pipelines(); void load_weights(); @@ -55,6 +60,7 @@ private: // Static features compute WGPUComputePipeline static_pipeline_; WGPUBindGroup static_bind_group_; + WGPUBuffer static_params_buffer_; WGPUTexture static_features_tex_; WGPUTextureView static_features_view_; @@ -75,5 +81,6 @@ private: float blend_amount_ = 1.0f; bool beat_modulated_ = false; float beat_scale_ = 1.0f; + uint32_t mip_level_ = 0; bool initialized_; }; |
