Home
last modified time | relevance | path

Searched refs:GPUNodeLink (Results 1 – 25 of 27) sorted by relevance

12

/dports/graphics/blender/blender-2.91.0/source/blender/gpu/
H A DGPU_material.h39 struct GPUNodeLink;
54 typedef struct GPUNodeLink GPUNodeLink; typedef
118 struct GPUNodeLink *link;
143 GPUNodeLink *GPU_constant(const float *num);
144 GPUNodeLink *GPU_uniform(const float *num);
146 GPUNodeLink *GPU_image(GPUMaterial *mat,
150 GPUNodeLink *GPU_image_tiled(GPUMaterial *mat,
156 GPUNodeLink *GPU_volume_grid(GPUMaterial *mat,
159 GPUNodeLink *GPU_builtin(eGPUBuiltin builtin);
168 GPUNodeLink *GPU_uniformbuf_link_out(struct GPUMaterial *mat,
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/gpu/intern/
H A Dgpu_node_graph.c44 static GPUNodeLink *gpu_node_link_create(void) in gpu_node_link_create()
46 GPUNodeLink *link = MEM_callocN(sizeof(GPUNodeLink), "GPUNodeLink"); in gpu_node_link_create()
52 static void gpu_node_link_free(GPUNodeLink *link) in gpu_node_link_free()
197 GPUNodeLink *link; in gpu_uniformbuffer_link()
383 GPUNodeLink *GPU_constant(const float *num) in GPU_constant()
391 GPUNodeLink *GPU_uniform(const float *num) in GPU_uniform()
399 GPUNodeLink *GPU_image(GPUMaterial *mat, in GPU_image()
494 GPUNodeLink *link, **linkptr; in GPU_link()
513 link = va_arg(params, GPUNodeLink *); in GPU_link()
535 GPUNodeLink *link, **linkptr; in GPU_stack_link()
[all …]
H A Dgpu_node_graph.h80 struct GPUNodeLink { struct
109 GPUNodeLink *link; /* output link */ argument
118 GPUNodeLink *link;
143 GPUNodeLink *outlink;
/dports/graphics/blender/blender-2.91.0/source/blender/nodes/shader/nodes/
H A Dnode_shader_tex_image.c73 GPUNodeLink **texco = &in[0].link; in node_shader_gpu_tex_image()
103 GPUNodeLink *gpu_image = GPU_image_tiled(mat, ima, iuser, sampler_state); in node_shader_gpu_tex_image()
104 GPUNodeLink *gpu_image_tile_mapping = GPU_image_tiled_mapping(mat, ima, iuser); in node_shader_gpu_tex_image()
113 GPUNodeLink *gpu_image = GPU_image(mat, ima, iuser, sampler_state); in node_shader_gpu_tex_image()
119 GPUNodeLink *wnor, *col1, *col2, *col3; in node_shader_gpu_tex_image()
120 GPUNodeLink *vnor = GPU_builtin(GPU_WORLD_NORMAL); in node_shader_gpu_tex_image()
121 GPUNodeLink *ob_mat = GPU_builtin(GPU_OBJECT_MATRIX); in node_shader_gpu_tex_image()
122 GPUNodeLink *blend = GPU_uniform(&tex->projection_blend); in node_shader_gpu_tex_image()
123 GPUNodeLink *gpu_image = GPU_image(mat, ima, iuser, sampler_state); in node_shader_gpu_tex_image()
134 GPUNodeLink *gpu_image = GPU_image(mat, ima, iuser, sampler_state); in node_shader_gpu_tex_image()
[all …]
H A Dnode_shader_tex_coord.c45 GPUNodeLink *inv_obmat = (ob != NULL) ? GPU_uniform(&ob->imat[0][0]) : in node_shader_gpu_tex_coord()
49 GPUNodeLink *orco = (!out[0].hasoutput) ? GPU_constant((float[4]){0.0f, 0.0f, 0.0f, 0.0f}) : in node_shader_gpu_tex_coord()
51 GPUNodeLink *mtface = GPU_attribute(mat, CD_MTFACE, ""); in node_shader_gpu_tex_coord()
52 GPUNodeLink *viewpos = GPU_builtin(GPU_VIEW_POSITION); in node_shader_gpu_tex_coord()
53 GPUNodeLink *worldnor = GPU_builtin(GPU_WORLD_NORMAL); in node_shader_gpu_tex_coord()
54 GPUNodeLink *texcofacs = GPU_builtin(GPU_CAMERA_TEXCO_FACTORS); in node_shader_gpu_tex_coord()
H A Dnode_shader_vectTransform.c55 static GPUNodeLink *get_gpulink_matrix_from_to(short from, short to) in get_gpulink_matrix_from_to()
97 struct GPUNodeLink *inputlink; in gpu_shader_vect_transform()
98 struct GPUNodeLink *fromto; in gpu_shader_vect_transform()
H A Dnode_shader_normal_map.c58 GPUNodeLink *strength; in gpu_shader_normal_map()
71 GPUNodeLink *newnormal; in gpu_shader_normal_map()
111 GPUNodeLink *oldnormal = GPU_builtin(GPU_WORLD_NORMAL); in gpu_shader_normal_map()
H A Dnode_shader_vertex_color.c43 GPUNodeLink *vertexColorLink = GPU_attribute(mat, CD_PROP_COLOR, vertexColor->layer_name); in node_shader_gpu_vertex_color()
46 GPUNodeLink *vertexColorLink = GPU_attribute(mat, CD_MCOL, vertexColor->layer_name); in node_shader_gpu_vertex_color()
H A Dnode_shader_geometry.c46 GPUNodeLink *bary_link = (!out[5].hasoutput) ? GPU_constant(val) : in node_shader_gpu_geometry()
52 GPUNodeLink *orco_link = (!out[2].hasoutput) ? GPU_constant(val) : in node_shader_gpu_geometry()
H A Dnode_shader_volume_principled.c67 GPUNodeLink *density = NULL, *color = NULL, *temperature = NULL; in node_shader_gpu_volume_principled()
115 GPUNodeLink *spectrummap = GPU_color_band(mat, size, data, &layer); in node_shader_gpu_volume_principled()
H A Dnode_shader_bsdf_principled.c90 GPUNodeLink *sss_scale; in node_shader_gpu_bsdf_principled()
105 GPUNodeLink *orco = GPU_attribute(CD_ORCO, ""); in node_shader_gpu_bsdf_principled()
H A Dnode_shader_rgb.c38 GPUNodeLink *link = GPU_uniformbuf_link_out(mat, node, out, 0); in gpu_shader_rgb()
H A Dnode_shader_output_world.c36 GPUNodeLink *outlink; in node_shader_gpu_output_world()
H A Dnode_shader_camera.c40 GPUNodeLink *viewvec; in gpu_shader_camera()
H A Dnode_shader_curves.c70 GPUNodeLink *tex = GPU_color_band(mat, size, array, &layer); in gpu_shader_curve_vec()
173 GPUNodeLink *tex = GPU_color_band(mat, size, array, &layer); in gpu_shader_curve_rgb()
H A Dnode_shader_blackbody.c45 GPUNodeLink *ramp_texture = GPU_color_band(mat, size, data, &layer); in node_shader_gpu_blackbody()
H A Dnode_shader_value.cc38 GPUNodeLink *link = GPU_uniformbuf_link_out(mat, node, out, 0); in gpu_shader_value()
H A Dnode_shader_uvmap.c44 GPUNodeLink *mtface = GPU_attribute(mat, CD_MTFACE, attr->uv_map); in node_shader_gpu_uvmap()
H A Dnode_shader_normal.c63 GPUNodeLink *vec = GPU_uniform(out[0].vec); in gpu_shader_normal()
H A Dnode_shader_output_material.c48 GPUNodeLink *outlink, *alpha_threshold_link, *shadow_threshold_link; in node_shader_gpu_output_material()
H A Dnode_shader_tangent.c49 GPUNodeLink *orco = GPU_attribute(mat, CD_ORCO, ""); in node_shader_gpu_tangent()
H A Dnode_shader_attribute.c59 GPUNodeLink *cd_attr = GPU_attribute(mat, CD_AUTO_FROM_NAME, attr->name); in node_shader_gpu_attribute()
H A Dnode_shader_tex_environment.c65 GPUNodeLink *outalpha; in node_shader_gpu_tex_environment()
/dports/graphics/blender/blender-2.91.0/source/blender/nodes/shader/
H A Dnode_shader_util.h102 struct GPUNodeLink **link);
105 struct GPUNodeLink **link);
H A Dnode_shader_util.c272 void node_shader_gpu_bump_tex_coord(GPUMaterial *mat, bNode *node, GPUNodeLink **link) in node_shader_gpu_bump_tex_coord()
287 void node_shader_gpu_default_tex_coord(GPUMaterial *mat, bNode *node, GPUNodeLink **link) in node_shader_gpu_default_tex_coord()
309 GPUNodeLink *tmin, *tmax, *tmat0, *tmat1, *tmat2, *tmat3; in node_shader_gpu_tex_mapping()

12