|
Blender
V2.93
|
#include <stdio.h>#include <string.h>#include "MEM_guardedalloc.h"#include "DNA_node_types.h"#include "BLI_ghash.h"#include "BLI_listbase.h"#include "BLI_string.h"#include "BLI_utildefines.h"#include "GPU_texture.h"#include "gpu_material_library.h"#include "gpu_node_graph.h"Go to the source code of this file.
Intermediate node graph for generating GLSL shaders.
Definition in file gpu_node_graph.c.
| GPUNodeLink* GPU_attribute | ( | GPUMaterial * | mat, |
| const CustomDataType | type, | ||
| const char * | name | ||
| ) |
Definition at line 489 of file gpu_node_graph.c.
References GPUNodeLink::attr, GPU_constant(), gpu_material_node_graph(), GPU_MAX_CONSTANT_DATA, gpu_node_graph_add_attribute(), GPU_NODE_LINK_ATTR, gpu_node_link_create(), graph, GPUNodeLink::link_type, NULL, and type.
Referenced by gpu_shader_normal_map(), gpu_shader_vector_displacement(), node_shader_gpu_attribute(), node_shader_gpu_bsdf_principled(), node_shader_gpu_default_tex_coord(), node_shader_gpu_geometry(), node_shader_gpu_tangent(), node_shader_gpu_tex_coord(), node_shader_gpu_tex_image(), node_shader_gpu_uvmap(), and node_shader_gpu_vertex_color().
| GPUNodeLink* GPU_builtin | ( | eGPUBuiltin | builtin | ) |
Definition at line 619 of file gpu_node_graph.c.
References GPUNodeLink::builtin, GPU_NODE_LINK_BUILTIN, gpu_node_link_create(), and GPUNodeLink::link_type.
Referenced by get_gpulink_matrix_from_to(), gpu_shader_bevel(), gpu_shader_bump(), gpu_shader_camera(), gpu_shader_displacement(), gpu_shader_normal_map(), gpu_shader_particle_info(), gpu_shader_vector_displacement(), node_shader_gpu_bsdf_principled(), node_shader_gpu_default_tex_coord(), node_shader_gpu_emission(), node_shader_gpu_fresnel(), node_shader_gpu_geometry(), node_shader_gpu_layer_weight(), node_shader_gpu_object_info(), node_shader_gpu_tangent(), node_shader_gpu_tex_coord(), node_shader_gpu_tex_environment(), node_shader_gpu_tex_image(), and node_shader_gpu_wireframe().
| GPUNodeLink* GPU_color_band | ( | GPUMaterial * | mat, |
| int | size, | ||
| float * | pixels, | ||
| float * | row | ||
| ) |
Definition at line 575 of file gpu_node_graph.c.
References gpu_material_node_graph(), gpu_material_ramp_texture_row_set(), gpu_node_graph_add_texture(), GPU_NODE_LINK_COLORBAND, gpu_node_link_create(), GPU_SAMPLER_MAX, graph, GPUNodeLink::link_type, MEM_freeN, NULL, size(), and GPUNodeLink::texture.
Referenced by gpu_shader_curve_rgb(), gpu_shader_curve_vec(), gpu_shader_valtorgb(), node_shader_gpu_blackbody(), and node_shader_gpu_volume_principled().
| GPUNodeLink* GPU_constant | ( | const float * | num | ) |
Definition at line 523 of file gpu_node_graph.c.
References GPUNodeLink::data, GPU_NODE_LINK_CONSTANT, gpu_node_link_create(), and GPUNodeLink::link_type.
Referenced by GPU_attribute(), gpu_node_input_socket(), gpu_shader_bump(), gpu_shader_curve_rgb(), gpu_shader_curve_vec(), gpu_shader_math(), gpu_shader_mix_rgb(), gpu_shader_normal_map(), gpu_shader_valtorgb(), gpu_shader_vect_transform(), gpu_shader_vector_rotate(), GPU_uniform_attribute(), node_shader_gpu_ambient_occlusion(), node_shader_gpu_attribute(), node_shader_gpu_blackbody(), node_shader_gpu_bsdf_anisotropic(), node_shader_gpu_bsdf_glass(), node_shader_gpu_bsdf_glossy(), node_shader_gpu_bsdf_principled(), node_shader_gpu_eevee_specular(), node_shader_gpu_geometry(), node_shader_gpu_object_info(), node_shader_gpu_subsurface_scattering(), node_shader_gpu_tex_brick(), node_shader_gpu_tex_coord(), node_shader_gpu_tex_gradient(), node_shader_gpu_tex_magic(), node_shader_gpu_tex_voronoi(), node_shader_gpu_tex_wave(), and node_shader_gpu_volume_principled().
| GPUNodeLink* GPU_image | ( | GPUMaterial * | mat, |
| Image * | ima, | ||
| ImageUser * | iuser, | ||
| eGPUSamplerState | sampler_state | ||
| ) |
Definition at line 539 of file gpu_node_graph.c.
References gpu_material_node_graph(), gpu_node_graph_add_texture(), gpu_node_link_create(), GPU_NODE_LINK_IMAGE, graph, GPUNodeLink::link_type, NULL, and GPUNodeLink::texture.
Referenced by node_shader_gpu_tex_environment(), and node_shader_gpu_tex_image().
| GPUNodeLink* GPU_image_tiled | ( | GPUMaterial * | mat, |
| Image * | ima, | ||
| ImageUser * | iuser, | ||
| eGPUSamplerState | sampler_state | ||
| ) |
Definition at line 552 of file gpu_node_graph.c.
References gpu_material_node_graph(), gpu_node_graph_add_texture(), gpu_node_link_create(), GPU_NODE_LINK_IMAGE_TILED, graph, GPUNodeLink::link_type, NULL, and GPUNodeLink::texture.
Referenced by node_shader_gpu_tex_image().
| GPUNodeLink* GPU_image_tiled_mapping | ( | GPUMaterial * | mat, |
| Image * | ima, | ||
| ImageUser * | iuser | ||
| ) |
Definition at line 565 of file gpu_node_graph.c.
References gpu_material_node_graph(), gpu_node_graph_add_texture(), gpu_node_link_create(), GPU_NODE_LINK_IMAGE_TILED_MAPPING, GPU_SAMPLER_MAX, graph, GPUNodeLink::link_type, NULL, and GPUNodeLink::texture.
Referenced by node_shader_gpu_tex_image().
|
static |
Definition at line 751 of file gpu_node_graph.c.
References GPUInput::attr, BLI_freelistN(), ELEM, gpu_node_link_free(), GPU_SOURCE_ATTR, GPU_SOURCE_TEX, GPU_SOURCE_TEX_TILED_MAPPING, GPU_SOURCE_UNIFORM_ATTR, GPU_SOURCE_VOLUME_GRID, GPU_SOURCE_VOLUME_GRID_TRANSFORM, inputs, GPUInput::link, GPUInput::next, GPUInput::source, GPUInput::texture, GPUInput::uniform_attr, GPUMaterialAttribute::users, GPUMaterialTexture::users, GPUMaterialVolumeGrid::users, GPUUniformAttr::users, and GPUInput::volume_grid.
Referenced by gpu_node_free().
| bool GPU_link | ( | GPUMaterial * | mat, |
| const char * | name, | ||
| ... | |||
| ) |
Definition at line 629 of file gpu_node_graph.c.
References BLI_addtail(), FUNCTION_QUAL_IN, gpu_material_library_use_function(), gpu_material_node_graph(), gpu_material_used_libraries(), gpu_node_create(), gpu_node_input_link(), gpu_node_output(), graph, node, and params.
Referenced by gpu_shader_bevel(), gpu_shader_bump(), gpu_shader_camera(), gpu_shader_displacement(), gpu_shader_map_range(), gpu_shader_math(), gpu_shader_mix_rgb(), gpu_shader_normal_map(), gpu_shader_vect_transform(), gpu_uniformbuffer_link(), GPU_volume_grid(), node_shader_gpu_ambient_occlusion(), node_shader_gpu_bsdf_anisotropic(), node_shader_gpu_bsdf_diffuse(), node_shader_gpu_bsdf_glass(), node_shader_gpu_bsdf_glossy(), node_shader_gpu_bsdf_principled(), node_shader_gpu_bsdf_refraction(), node_shader_gpu_bsdf_toon(), node_shader_gpu_bsdf_translucent(), node_shader_gpu_bsdf_velvet(), node_shader_gpu_bump_tex_coord(), node_shader_gpu_default_tex_coord(), node_shader_gpu_eevee_specular(), node_shader_gpu_fresnel(), node_shader_gpu_geometry(), node_shader_gpu_layer_weight(), node_shader_gpu_subsurface_scattering(), node_shader_gpu_tangent(), node_shader_gpu_tex_coord(), node_shader_gpu_tex_environment(), node_shader_gpu_tex_image(), and node_shader_gpu_tex_mapping().
|
static |
Definition at line 71 of file gpu_node_graph.c.
References MEM_callocN, and node.
Referenced by GPU_link(), and GPU_stack_link().
|
static |
Definition at line 777 of file gpu_node_graph.c.
References BLI_freelistN(), gpu_inputs_free(), gpu_node_link_free(), MEM_freeN, node, NULL, and output.
Referenced by gpu_node_graph_free_nodes(), and gpu_node_graph_prune_unused().
|
static |
Add a new varying attribute of given type and name. Returns NULL if out of slots.
Definition at line 354 of file gpu_node_graph.c.
References BLI_addtail(), CD_AUTO_FROM_NAME, CD_MTFACE, GPU_MAX_ATTR, graph, GPUMaterialAttribute::id, MEM_callocN, GPUMaterialAttribute::name, GPUMaterialAttribute::next, NULL, STREQ, STRNCPY, type, GPUMaterialAttribute::type, and GPUMaterialAttribute::users.
Referenced by GPU_attribute().
|
static |
Definition at line 421 of file gpu_node_graph.c.
References BLI_addtail(), BLI_snprintf(), ELEM, GPU_NODE_LINK_IMAGE_TILED, GPU_NODE_LINK_IMAGE_TILED_MAPPING, graph, Tex::ima, Tex::iuser, MEM_callocN, NULL, and tex.
Referenced by GPU_color_band(), GPU_image(), GPU_image_tiled(), and GPU_image_tiled_mapping().
|
static |
Add a new uniform attribute of given type and name. Returns NULL if out of slots.
Definition at line 390 of file gpu_node_graph.c.
References BLI_addtail(), GPUUniformAttrList::count, ListBase::first, GPU_MAX_UNIFORM_ATTR, graph, GPUUniformAttr::id, GPUUniformAttrList::list, MEM_callocN, GPUUniformAttr::name, GPUUniformAttr::next, NULL, STREQ, STRNCPY, GPUUniformAttr::use_dupli, and GPUUniformAttr::users.
Referenced by GPU_uniform_attribute().
|
static |
Definition at line 458 of file gpu_node_graph.c.
References BLI_addtail(), BLI_snprintf(), BLI_strdup(), GPUMaterialVolumeGrid::default_value, graph, MEM_callocN, GPUMaterialVolumeGrid::name, GPUMaterialVolumeGrid::next, NULL, GPUMaterialVolumeGrid::sampler_name, STREQ, GPUMaterialVolumeGrid::transform_name, and GPUMaterialVolumeGrid::users.
Referenced by GPU_volume_grid().
| void gpu_node_graph_finalize_uniform_attrs | ( | GPUNodeGraph * | graph | ) |
Definition at line 328 of file gpu_node_graph.c.
References BLI_assert, BLI_ghashutil_strhash_p(), BLI_ghashutil_uinthash(), BLI_listbase_count(), BLI_listbase_sort(), GPUUniformAttrList::count, graph, GPUUniformAttrList::hash_code, GPUUniformAttrList::list, LISTBASE_FOREACH, and uniform_attr_sort_cmp().
Referenced by GPU_generate_pass().
| void gpu_node_graph_free | ( | GPUNodeGraph * | graph | ) |
Definition at line 807 of file gpu_node_graph.c.
References BLI_freelistN(), gpu_node_graph_free_nodes(), GPU_uniform_attr_list_free(), graph, LISTBASE_FOREACH, and MEM_SAFE_FREE.
Referenced by GPU_material_compile(), gpu_material_free_single(), and GPU_material_from_nodetree().
| void gpu_node_graph_free_nodes | ( | GPUNodeGraph * | graph | ) |
Definition at line 795 of file gpu_node_graph.c.
References BLI_pophead(), gpu_node_free(), graph, node, and NULL.
Referenced by GPU_material_compile(), GPU_material_from_nodetree(), and gpu_node_graph_free().
| void gpu_node_graph_prune_unused | ( | GPUNodeGraph * | graph | ) |
Definition at line 845 of file gpu_node_graph.c.
References BLI_freelinkN(), BLI_remlink(), GPUUniformAttrList::count, gpu_node_free(), gpu_nodes_tag(), graph, GPUUniformAttrList::list, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, MEM_SAFE_FREE, next, node, NULL, and tex.
Referenced by GPU_generate_pass().
|
static |
Definition at line 80 of file gpu_node_graph.c.
References GPUNodeLink::attr, GPUInput::attr, BLI_addtail(), GPUNodeLink::builtin, GPUInput::builtin, CLAMP_MIN, GPUNodeLink::data, ELEM, ListBase::first, GPU_CLOSURE, GPU_NODE_LINK_ATTR, GPU_NODE_LINK_BUILTIN, GPU_NODE_LINK_COLORBAND, GPU_NODE_LINK_CONSTANT, GPU_NODE_LINK_IMAGE, GPU_NODE_LINK_IMAGE_TILED, GPU_NODE_LINK_IMAGE_TILED_MAPPING, GPU_NODE_LINK_OUTPUT, GPU_NODE_LINK_UNIFORM, GPU_NODE_LINK_UNIFORM_ATTR, GPU_NODE_LINK_VOLUME_GRID, GPU_NODE_LINK_VOLUME_GRID_TRANSFORM, GPU_SOURCE_ATTR, GPU_SOURCE_BUILTIN, GPU_SOURCE_CONSTANT, GPU_SOURCE_OUTPUT, GPU_SOURCE_STRUCT, GPU_SOURCE_TEX, GPU_SOURCE_TEX_TILED_MAPPING, GPU_SOURCE_UNIFORM, GPU_SOURCE_UNIFORM_ATTR, GPU_SOURCE_VOLUME_GRID, GPU_SOURCE_VOLUME_GRID_TRANSFORM, GPUMaterialAttribute::gputype, GPUNode::inputs, GPUInput::link, GPUNodeLink::link_type, MEM_callocN, MEM_dupallocN, MEM_freeN, GPUNode::name, node, GPUOutput::node, GPUInput::node, GPUNodeLink::output, GPUInput::source, STR_ELEM, GPUNodeLink::texture, GPUInput::texture, type, GPUInput::type, GPUNodeLink::uniform_attr, GPUInput::uniform_attr, GPUNodeLink::users, GPUInput::vec, GPUNodeLink::volume_grid, and GPUInput::volume_grid.
Referenced by GPU_link(), gpu_node_input_socket(), and GPU_stack_link().
|
static |
Definition at line 235 of file gpu_node_graph.c.
References GPU_constant(), gpu_node_input_link(), gpu_uniformbuffer_link(), GPUNodeStack::link, material, node, NULL, SOCK_IN, GPUNodeStack::type, and GPUNodeStack::vec.
Referenced by GPU_stack_link().
|
static |
Definition at line 45 of file gpu_node_graph.c.
References MEM_callocN, and GPUNodeLink::users.
Referenced by GPU_attribute(), GPU_builtin(), GPU_color_band(), GPU_constant(), GPU_image(), GPU_image_tiled(), GPU_image_tiled_mapping(), gpu_node_output(), GPU_uniform(), GPU_uniform_attribute(), and GPU_volume_grid().
|
static |
Definition at line 53 of file gpu_node_graph.c.
References GPUOutput::link, MEM_freeN, NULL, GPUNodeLink::output, and GPUNodeLink::users.
Referenced by gpu_inputs_free(), and gpu_node_free().
|
static |
Definition at line 250 of file gpu_node_graph.c.
References BLI_addtail(), gpu_node_link_create(), GPU_NODE_LINK_OUTPUT, MEM_callocN, node, output, and type.
Referenced by GPU_link(), and GPU_stack_link().
|
static |
Definition at line 823 of file gpu_node_graph.c.
References GPUInput::link, GPUInput::next, node, GPUOutput::node, and GPUNodeLink::output.
Referenced by gpu_node_graph_prune_unused().
| bool GPU_stack_link | ( | GPUMaterial * | material, |
| bNode * | bnode, | ||
| const char * | name, | ||
| GPUNodeStack * | in, | ||
| GPUNodeStack * | out, | ||
| ... | |||
| ) |
Definition at line 665 of file gpu_node_graph.c.
References BLI_addtail(), GPUNodeStack::end, FUNCTION_QUAL_IN, gpu_material_library_use_function(), gpu_material_node_graph(), gpu_material_used_libraries(), gpu_node_create(), gpu_node_input_link(), gpu_node_input_socket(), gpu_node_output(), GPU_NONE, graph, material, node, NULL, params, GPUNodeLink::socket, and type.
Referenced by gpu_shader_bevel(), gpu_shader_brightcontrast(), gpu_shader_bump(), gpu_shader_camera(), gpu_shader_clamp(), gpu_shader_combhsv(), gpu_shader_combrgb(), gpu_shader_combxyz(), gpu_shader_curve_rgb(), gpu_shader_curve_vec(), gpu_shader_displacement(), gpu_shader_hue_sat(), gpu_shader_invert(), gpu_shader_map_range(), gpu_shader_mapping(), gpu_shader_math(), gpu_shader_mix_rgb(), gpu_shader_normal(), gpu_shader_particle_info(), gpu_shader_rgb(), gpu_shader_rgbtobw(), gpu_shader_sephsv(), gpu_shader_seprgb(), gpu_shader_sepxyz(), gpu_shader_squeeze(), gpu_shader_tex_white_noise(), gpu_shader_valtorgb(), gpu_shader_value(), gpu_shader_vector_displacement(), gpu_shader_vector_math(), gpu_shader_vector_rotate(), node_shader_gpu_add_shader(), node_shader_gpu_ambient_occlusion(), node_shader_gpu_attribute(), node_shader_gpu_background(), node_shader_gpu_blackbody(), node_shader_gpu_bsdf_anisotropic(), node_shader_gpu_bsdf_diffuse(), node_shader_gpu_bsdf_glass(), node_shader_gpu_bsdf_glossy(), node_shader_gpu_bsdf_hair(), node_shader_gpu_bsdf_principled(), node_shader_gpu_bsdf_refraction(), node_shader_gpu_bsdf_toon(), node_shader_gpu_bsdf_translucent(), node_shader_gpu_bsdf_transparent(), node_shader_gpu_bsdf_velvet(), node_shader_gpu_eevee_specular(), node_shader_gpu_emission(), node_shader_gpu_fresnel(), node_shader_gpu_gamma(), node_shader_gpu_geometry(), node_shader_gpu_hair_info(), node_shader_gpu_layer_weight(), node_shader_gpu_light_falloff(), node_shader_gpu_light_path(), node_shader_gpu_mix_shader(), node_shader_gpu_object_info(), node_shader_gpu_output_aov(), node_shader_gpu_output_material(), node_shader_gpu_output_world(), node_shader_gpu_shadertorgb(), node_shader_gpu_subsurface_scattering(), node_shader_gpu_tangent(), node_shader_gpu_tex_brick(), node_shader_gpu_tex_checker(), node_shader_gpu_tex_coord(), node_shader_gpu_tex_environment(), node_shader_gpu_tex_gradient(), node_shader_gpu_tex_image(), node_shader_gpu_tex_magic(), node_shader_gpu_tex_sky(), node_shader_gpu_tex_voronoi(), node_shader_gpu_tex_wave(), node_shader_gpu_uvmap(), node_shader_gpu_vertex_color(), node_shader_gpu_volume_absorption(), node_shader_gpu_volume_principled(), node_shader_gpu_volume_scatter(), and node_shader_gpu_wireframe().
| GPUNodeLink* GPU_uniform | ( | const float * | num | ) |
Definition at line 531 of file gpu_node_graph.c.
References GPUNodeLink::data, gpu_node_link_create(), GPU_NODE_LINK_UNIFORM, and GPUNodeLink::link_type.
Referenced by gpu_shader_curve_rgb(), gpu_shader_curve_vec(), gpu_shader_normal(), gpu_shader_normal_map(), gpu_shader_valtorgb(), gpu_uniformbuffer_link(), node_shader_gpu_output_material(), node_shader_gpu_tex_brick(), node_shader_gpu_tex_coord(), node_shader_gpu_tex_image(), node_shader_gpu_tex_mapping(), and node_shader_gpu_tex_sky().
| void GPU_uniform_attr_list_copy | ( | GPUUniformAttrList * | dest, |
| GPUUniformAttrList * | src | ||
| ) |
Definition at line 314 of file gpu_node_graph.c.
References BLI_duplicatelist(), GPUUniformAttrList::count, GPUUniformAttrList::hash_code, and GPUUniformAttrList::list.
Referenced by drw_uniform_attrs_pool_ensure().
| void GPU_uniform_attr_list_free | ( | GPUUniformAttrList * | set | ) |
Definition at line 321 of file gpu_node_graph.c.
References BLI_freelistN(), GPUUniformAttrList::count, GPUUniformAttrList::hash_code, and GPUUniformAttrList::list.
Referenced by drw_uniform_attrs_pool_free_cb(), and gpu_node_graph_free().
| struct GHash* GPU_uniform_attr_list_hash_new | ( | const char * | info | ) |
Definition at line 309 of file gpu_node_graph.c.
References BLI_ghash_new(), uniform_attr_list_cmp(), and uniform_attr_list_hash().
Referenced by DRW_uniform_attrs_pool_new().
| GPUNodeLink* GPU_uniform_attribute | ( | GPUMaterial * | mat, |
| const char * | name, | ||
| bool | use_dupli | ||
| ) |
Definition at line 506 of file gpu_node_graph.c.
References GPU_constant(), gpu_material_node_graph(), GPU_MAX_CONSTANT_DATA, gpu_node_graph_add_uniform_attribute(), gpu_node_link_create(), GPU_NODE_LINK_UNIFORM_ATTR, graph, GPUNodeLink::link_type, NULL, and GPUNodeLink::uniform_attr.
Referenced by node_shader_gpu_attribute().
|
static |
Definition at line 165 of file gpu_node_graph.c.
References BLI_assert, NULL, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_VECTOR, and type.
Referenced by gpu_uniformbuffer_link().
| GPUNodeLink* GPU_uniformbuf_link_out | ( | GPUMaterial * | mat, |
| bNode * | node, | ||
| GPUNodeStack * | stack, | ||
| const int | index | ||
| ) |
Definition at line 741 of file gpu_node_graph.c.
References gpu_uniformbuffer_link(), node, and SOCK_OUT.
Referenced by gpu_shader_rgb(), and gpu_shader_value().
|
static |
Link stack uniform buffer. This is called for the input/output sockets that are note connected.
Definition at line 186 of file gpu_node_graph.c.
References BLI_assert, BLI_findlink(), bNodeSocket::default_value, bNodeSocket::flag, GPU_link(), GPU_uniform(), gpu_uniform_set_function_from_type(), bNodeSocket::in_out, GPUNodeStack::link, node, NULL, SOCK_FLOAT, SOCK_HIDE_VALUE, SOCK_IN, SOCK_RGBA, SOCK_VECTOR, bNodeSocket::type, bNodeSocketValueFloat::value, bNodeSocketValueVector::value, and bNodeSocketValueRGBA::value.
Referenced by gpu_node_input_socket(), and GPU_uniformbuf_link_out().
| GPUNodeLink* GPU_volume_grid | ( | GPUMaterial * | mat, |
| const char * | name, | ||
| eGPUVolumeDefaultValue | default_value | ||
| ) |
Definition at line 588 of file gpu_node_graph.c.
References GPU_link(), gpu_material_node_graph(), gpu_node_graph_add_volume_grid(), gpu_node_link_create(), GPU_NODE_LINK_VOLUME_GRID, GPU_NODE_LINK_VOLUME_GRID_TRANSFORM, graph, GPUNodeLink::link_type, STREQ, GPUMaterialVolumeGrid::users, and GPUNodeLink::volume_grid.
Referenced by node_shader_gpu_attribute(), node_shader_gpu_volume_info(), and node_shader_gpu_volume_principled().
|
static |
Definition at line 290 of file gpu_node_graph.c.
References Freestyle::a, GPUUniformAttrList::count, ListBase::first, GPUUniformAttrList::hash_code, GPUUniformAttrList::list, GPUUniformAttr::name, GPUUniformAttr::next, STREQ, and GPUUniformAttr::use_dupli.
Referenced by GPU_uniform_attr_list_hash_new().
|
static |
Definition at line 284 of file gpu_node_graph.c.
References GPUUniformAttrList::hash_code.
Referenced by GPU_uniform_attr_list_hash_new().
|
static |
Definition at line 272 of file gpu_node_graph.c.
References Freestyle::a, GPUUniformAttr::name, and GPUUniformAttr::use_dupli.
Referenced by gpu_node_graph_finalize_uniform_attrs().