Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-10-07 07:17:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-10-07 07:22:22 +0300
commit60f0a94ab21c0120c091b3c0369dfff8fa9e2ca8 (patch)
treee55cb6105d5e05c2644b37d500a9a5e8d93a95f1 /source/blender/nodes
parent805ba9fc81d5b30596da52862b02e5ec8cabbad5 (diff)
Cleanup: clang-format
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_geometry.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_geometry.c b/source/blender/nodes/shader/nodes/node_shader_geometry.c
index e22bbf90a94..54a5411114a 100644
--- a/source/blender/nodes/shader/nodes/node_shader_geometry.c
+++ b/source/blender/nodes/shader/nodes/node_shader_geometry.c
@@ -48,16 +48,16 @@ static int node_shader_gpu_geometry(GPUMaterial *mat,
GPUNodeLink *orco_link = (!out[2].hasoutput) ? GPU_constant(val) : GPU_attribute(CD_ORCO, "");
const bool success = GPU_stack_link(mat,
- node,
- "node_geometry",
- in,
- out,
- GPU_builtin(GPU_VIEW_POSITION),
- GPU_builtin(GPU_WORLD_NORMAL),
- orco_link,
- GPU_builtin(GPU_OBJECT_MATRIX),
- GPU_builtin(GPU_INVERSE_VIEW_MATRIX),
- bary_link);
+ node,
+ "node_geometry",
+ in,
+ out,
+ GPU_builtin(GPU_VIEW_POSITION),
+ GPU_builtin(GPU_WORLD_NORMAL),
+ orco_link,
+ GPU_builtin(GPU_OBJECT_MATRIX),
+ GPU_builtin(GPU_INVERSE_VIEW_MATRIX),
+ bary_link);
/* for each output */
for (int i = 0; sh_node_geometry_out[i].type != -1; i++) {