Cleanup: format
This commit is contained in:
parent
b539d425f0
commit
4b57bc4e5d
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue