Cleanup: format

This commit is contained in:
Chris Blackbourn 2022-11-09 08:30:18 +13:00
parent b539d425f0
commit 4b57bc4e5d
4 changed files with 5 additions and 6 deletions

View File

@ -232,7 +232,7 @@ string CUDADevice::compile_kernel_get_common_cflags(const uint kernel_features)
return cflags;
}
string CUDADevice::compile_kernel(const string& common_cflags,
string CUDADevice::compile_kernel(const string &common_cflags,
const char *name,
const char *base,
bool force_ptx)

View File

@ -79,7 +79,7 @@ class CUDADevice : public Device {
string compile_kernel_get_common_cflags(const uint kernel_features);
string compile_kernel(const string& cflags,
string compile_kernel(const string &cflags,
const char *name,
const char *base = "cuda",
bool force_ptx = false);

View File

@ -58,11 +58,11 @@
#include "BKE_lattice.h"
#include "BKE_main.h" /* for Main */
#include "BKE_mesh.h" /* for ME_ defines (patching) */
#include "BKE_mesh_legacy_convert.h"
#include "BKE_modifier.h"
#include "BKE_object.h"
#include "BKE_particle.h"
#include "BKE_pointcache.h"
#include "BKE_mesh_legacy_convert.h"
#include "SEQ_iterator.h"
#include "SEQ_sequencer.h"

View File

@ -104,9 +104,8 @@ void register_node_type_tex_curve_rgb(void)
node_type_size_preset(&ntype, NODE_SIZE_LARGE);
ntype.initfunc = rgb_init;
node_type_storage(&ntype, "CurveMapping", node_free_curves, node_copy_curves);
ntype.init_exec_fn = node_initexec_curves ;
ntype.exec_fn =rgb_exec ;
ntype.init_exec_fn = node_initexec_curves;
ntype.exec_fn = rgb_exec;
nodeRegisterType(&ntype);
}