diff options
Diffstat (limited to 'src/gpu/texture_manager.cc')
| -rw-r--r-- | src/gpu/texture_manager.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gpu/texture_manager.cc b/src/gpu/texture_manager.cc index 20e215d..9e42841 100644 --- a/src/gpu/texture_manager.cc +++ b/src/gpu/texture_manager.cc @@ -285,10 +285,12 @@ void TextureManager::dispatch_compute(const std::string& func_name, wgpuTextureViewRelease(target_view); } -void TextureManager::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) { +void TextureManager::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) { get_or_create_compute_pipeline(func_name, shader_code, uniform_size); TextureWithView tv = gpu_create_storage_texture_2d( |
