diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2022-01-26 23:28:05 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2022-01-26 23:29:31 +0300 |
commit | 710e46cb2d966d4a05064e3284aefe71e1bc99b2 (patch) | |
tree | 9f5c4c4054db296123ff06a32639c64b7f8613ca /source/blender/nodes/shader/node_shader_util.hh | |
parent | cab1f1d9a2347c52a07697d2305f4416ff0de84d (diff) |
Cleanup: Move specific node tree execution functions into respective module
`node_exec` had some code that was specific to texture/shader nodes.
These functions arent used outside there module so limit there declarations.
Also make a function static that is only used in `node_exec.c`
Reviewed By: JacquesLucke
Differential Revision: https://developer.blender.org/D13899
Diffstat (limited to 'source/blender/nodes/shader/node_shader_util.hh')
-rw-r--r-- | source/blender/nodes/shader/node_shader_util.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/nodes/shader/node_shader_util.hh b/source/blender/nodes/shader/node_shader_util.hh index 5a5b4f613f3..31229c8693b 100644 --- a/source/blender/nodes/shader/node_shader_util.hh +++ b/source/blender/nodes/shader/node_shader_util.hh @@ -101,6 +101,11 @@ void node_shader_gpu_tex_mapping(struct GPUMaterial *mat, struct GPUNodeStack *in, struct GPUNodeStack *out); +struct bNodeTreeExec *ntreeShaderBeginExecTree_internal(struct bNodeExecContext *context, + struct bNodeTree *ntree, + bNodeInstanceKey parent_key); +void ntreeShaderEndExecTree_internal(struct bNodeTreeExec *exec); + void ntreeExecGPUNodes(struct bNodeTreeExec *exec, struct GPUMaterial *mat, struct bNode *output_node); |