[Bf-blender-cvs] [561ed5a61f0] compositor-full-frame: Cleanup: clang-format

Manuel Castilla noreply at git.blender.org
Thu Aug 12 22:35:58 CEST 2021


Commit: 561ed5a61f0063a4e27be6c17b5203acd690f468
Author: Manuel Castilla
Date:   Thu Aug 12 22:32:05 2021 +0200
Branches: compositor-full-frame
https://developer.blender.org/rB561ed5a61f0063a4e27be6c17b5203acd690f468

Cleanup: clang-format

===================================================================

M	source/blender/compositor/operations/COM_BilateralBlurOperation.h
M	source/blender/compositor/operations/COM_TonemapOperation.cc
M	source/blender/gpu/tests/gpu_shader_test.cc

===================================================================

diff --git a/source/blender/compositor/operations/COM_BilateralBlurOperation.h b/source/blender/compositor/operations/COM_BilateralBlurOperation.h
index 4819715deb0..517c5292827 100644
--- a/source/blender/compositor/operations/COM_BilateralBlurOperation.h
+++ b/source/blender/compositor/operations/COM_BilateralBlurOperation.h
@@ -58,9 +58,7 @@ class BilateralBlurOperation : public MultiThreadedOperation, public QualityStep
     this->m_space = data->sigma_space + data->iter;
   }
 
-  void get_area_of_interest(int input_idx,
-                            const rcti &output_area,
-                            rcti &r_input_area) override;
+  void get_area_of_interest(int input_idx, const rcti &output_area, rcti &r_input_area) override;
 
   void update_memory_buffer_partial(MemoryBuffer *output,
                                     const rcti &area,
diff --git a/source/blender/compositor/operations/COM_TonemapOperation.cc b/source/blender/compositor/operations/COM_TonemapOperation.cc
index 119d5f1238b..55efb794848 100644
--- a/source/blender/compositor/operations/COM_TonemapOperation.cc
+++ b/source/blender/compositor/operations/COM_TonemapOperation.cc
@@ -20,7 +20,6 @@
 
 #include "COM_ExecutionSystem.h"
 #include "COM_TonemapOperation.h"
-#include "COM_ExecutionSystem.h"
 
 #include "BLI_math.h"
 #include "BLI_utildefines.h"
diff --git a/source/blender/gpu/tests/gpu_shader_test.cc b/source/blender/gpu/tests/gpu_shader_test.cc
index 561858f421e..dbe336af097 100644
--- a/source/blender/gpu/tests/gpu_shader_test.cc
+++ b/source/blender/gpu/tests/gpu_shader_test.cc
@@ -108,7 +108,8 @@ void main() {
   EXPECT_NE(shader, nullptr);
 
   /* Construct Texture. */
-  GPUTexture *texture = GPU_texture_create_1d("gpu_shader_compute_1d", SIZE, 0, GPU_RGBA32F, nullptr);
+  GPUTexture *texture = GPU_texture_create_1d(
+      "gpu_shader_compute_1d", SIZE, 0, GPU_RGBA32F, nullptr);
   EXPECT_NE(texture, nullptr);
 
   GPU_shader_bind(shader);



More information about the Bf-blender-cvs mailing list