Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/shader/nodes/node_shader_common.c
| Show First 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | |||||
| static int gpu_group_execute(GPUMaterial *mat, bNode *node, bNodeExecData *execdata, GPUNodeStack *in, GPUNodeStack *out) | static int gpu_group_execute(GPUMaterial *mat, bNode *node, bNodeExecData *execdata, GPUNodeStack *in, GPUNodeStack *out) | ||||
| { | { | ||||
| bNodeTreeExec *exec = execdata->data; | bNodeTreeExec *exec = execdata->data; | ||||
| if (!node->id) | if (!node->id) | ||||
| return 0; | return 0; | ||||
| group_gpu_copy_inputs(node, in, exec->stack); | group_gpu_copy_inputs(node, in, exec->stack); | ||||
| ntreeExecGPUNodes(exec, mat, 0); | ntreeExecGPUNodes(exec, mat, NULL); | ||||
| group_gpu_move_outputs(node, out, exec->stack); | group_gpu_move_outputs(node, out, exec->stack); | ||||
| return 1; | return 1; | ||||
| } | } | ||||
| void register_node_type_sh_group(void) | void register_node_type_sh_group(void) | ||||
| { | { | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| Show All 40 Lines | |||||