Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_node_graph.c
| Show First 20 Lines • Show All 884 Lines • ▼ Show 20 Lines | void gpu_node_graph_free(GPUNodeGraph *graph) | ||||
| if (graph->used_libraries) { | if (graph->used_libraries) { | ||||
| BLI_gset_free(graph->used_libraries, NULL); | BLI_gset_free(graph->used_libraries, NULL); | ||||
| graph->used_libraries = NULL; | graph->used_libraries = NULL; | ||||
| } | } | ||||
| } | } | ||||
| /* Prune Unused Nodes */ | /* Prune Unused Nodes */ | ||||
| static void gpu_nodes_tag(GPUNodeLink *link, eGPUNodeTag tag) | void gpu_nodes_tag(GPUNodeLink *link, eGPUNodeTag tag) | ||||
| { | { | ||||
| GPUNode *node; | GPUNode *node; | ||||
| if (!link || !link->output) { | if (!link || !link->output) { | ||||
| return; | return; | ||||
| } | } | ||||
| node = link->output->node; | node = link->output->node; | ||||
| ▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines | |||||