From 2d1cce8331f3ecdfb8cb0c651e111ffac5dc7153 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Thu, 19 Mar 2020 09:33:03 +0100 Subject: Cleanup: `make format` after SortedIncludes change --- intern/opensubdiv/internal/opensubdiv.cc | 2 +- intern/opensubdiv/internal/opensubdiv_converter_internal.cc | 2 +- intern/opensubdiv/internal/opensubdiv_device_context_cuda.cc | 2 +- intern/opensubdiv/internal/opensubdiv_evaluator.cc | 2 +- intern/opensubdiv/internal/opensubdiv_evaluator_internal.cc | 1 - intern/opensubdiv/internal/opensubdiv_gl_mesh.cc | 6 +++--- intern/opensubdiv/internal/opensubdiv_gl_mesh_fvar.h | 2 +- intern/opensubdiv/internal/opensubdiv_util.h | 2 +- 8 files changed, 9 insertions(+), 10 deletions(-) (limited to 'intern/opensubdiv/internal') diff --git a/intern/opensubdiv/internal/opensubdiv.cc b/intern/opensubdiv/internal/opensubdiv.cc index dc19d3d9306..74b81b13351 100644 --- a/intern/opensubdiv/internal/opensubdiv.cc +++ b/intern/opensubdiv/internal/opensubdiv.cc @@ -22,8 +22,8 @@ #include -#include "opensubdiv_device_context_opencl.h" #include "opensubdiv_device_context_cuda.h" +#include "opensubdiv_device_context_opencl.h" #include "opensubdiv_gl_mesh_capi.h" void openSubdiv_init(void) diff --git a/intern/opensubdiv/internal/opensubdiv_converter_internal.cc b/intern/opensubdiv/internal/opensubdiv_converter_internal.cc index e8d2f237936..0335219d6b9 100644 --- a/intern/opensubdiv/internal/opensubdiv_converter_internal.cc +++ b/intern/opensubdiv/internal/opensubdiv_converter_internal.cc @@ -22,8 +22,8 @@ #include "internal/opensubdiv_converter_internal.h" -#include #include +#include namespace opensubdiv_capi { diff --git a/intern/opensubdiv/internal/opensubdiv_device_context_cuda.cc b/intern/opensubdiv/internal/opensubdiv_device_context_cuda.cc index 5ce8af0434e..c0355ab24a8 100644 --- a/intern/opensubdiv/internal/opensubdiv_device_context_cuda.cc +++ b/intern/opensubdiv/internal/opensubdiv_device_context_cuda.cc @@ -39,10 +39,10 @@ # include # endif +# include # include # include # include -# include # include "internal/opensubdiv_util.h" diff --git a/intern/opensubdiv/internal/opensubdiv_evaluator.cc b/intern/opensubdiv/internal/opensubdiv_evaluator.cc index 4f5a1db82ca..c599a3c9f68 100644 --- a/intern/opensubdiv/internal/opensubdiv_evaluator.cc +++ b/intern/opensubdiv/internal/opensubdiv_evaluator.cc @@ -18,8 +18,8 @@ #include "opensubdiv_evaluator_capi.h" -#include #include "MEM_guardedalloc.h" +#include #include "internal/opensubdiv_evaluator_internal.h" diff --git a/intern/opensubdiv/internal/opensubdiv_evaluator_internal.cc b/intern/opensubdiv/internal/opensubdiv_evaluator_internal.cc index 431258aa415..c35909a045b 100644 --- a/intern/opensubdiv/internal/opensubdiv_evaluator_internal.cc +++ b/intern/opensubdiv/internal/opensubdiv_evaluator_internal.cc @@ -39,7 +39,6 @@ #include "internal/opensubdiv_topology_refiner_internal.h" #include "internal/opensubdiv_util.h" -#include "internal/opensubdiv_util.h" #include "opensubdiv_topology_refiner_capi.h" using OpenSubdiv::Far::PatchMap; diff --git a/intern/opensubdiv/internal/opensubdiv_gl_mesh.cc b/intern/opensubdiv/internal/opensubdiv_gl_mesh.cc index 0e4d9ce0a83..6afd763a63e 100644 --- a/intern/opensubdiv/internal/opensubdiv_gl_mesh.cc +++ b/intern/opensubdiv/internal/opensubdiv_gl_mesh.cc @@ -44,9 +44,9 @@ typedef Mesh OsdOmp #endif // OpenCL backend. #ifdef OPENSUBDIV_HAS_OPENCL +# include "opensubdiv_device_context_opencl.h" # include # include -# include "opensubdiv_device_context_opencl.h" using OpenSubdiv::Osd::CLEvaluator; using OpenSubdiv::Osd::CLGLVertexBuffer; using OpenSubdiv::Osd::CLStencilTable; @@ -57,9 +57,9 @@ static CLDeviceContext g_cl_device_context; #endif // CUDA backend. #ifdef OPENSUBDIV_HAS_CUDA +# include "opensubdiv_device_context_cuda.h" # include # include -# include "opensubdiv_device_context_cuda.h" using OpenSubdiv::Osd::CudaEvaluator; using OpenSubdiv::Osd::CudaGLVertexBuffer; using OpenSubdiv::Osd::CudaStencilTable; @@ -89,12 +89,12 @@ typedef Mesh #include +#include #include "internal/opensubdiv_util.h" diff --git a/intern/opensubdiv/internal/opensubdiv_util.h b/intern/opensubdiv/internal/opensubdiv_util.h index 7817ebac96e..e515859b42f 100644 --- a/intern/opensubdiv/internal/opensubdiv_util.h +++ b/intern/opensubdiv/internal/opensubdiv_util.h @@ -21,11 +21,11 @@ #include #include -#include #include #include #include #include +#include namespace opensubdiv_capi { -- cgit v1.2.3