Blender Git Loki
Git Commits -> Revision e88a715
Revision e88a715 by Brecht Van Lommel (master) February 27, 2020, 15:14 (GMT) |
Cleanup: more refactoring of GPU material attributes and textures This further separates requested attributes and textures from the actual node graph, that can be retained after the graph has been compiled and freed. It makes it easier to add volume grids as a native concept, which sits somewhere between an attribute and a texture. It also adds explicit link types for UDIM tile mapping, rather than relying on fairly hidden logic. |
Commit Details:
Full Hash: e88a715364981af39353073c6d96b9056fafca6b
Parent Commit: 1ec1136
Lines Changed: +377, -401
18 Modified Paths:
/source/blender/draw/intern/draw_manager_data.c (+18, -20) (Diff)
/source/blender/gpu/GPU_material.h (+12, -7) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+148, -263) (Diff)
/source/blender/gpu/intern/gpu_material.c (+2, -7) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+146, -32) (Diff)
/source/blender/gpu/intern/gpu_node_graph.h (+15, -37) (Diff)
/source/blender/nodes/shader/nodes/node_shader_attribute.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_geometry.c (+2, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_normal_map.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tangent.c (+2, -2) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_coord.c (+2, -2) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_environment.c (+9, -5) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_image.c (+14, -18) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_sky.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_uvmap.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_vector_displacement.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_vertex_color.c (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_util.c (+1, -1) (Diff)
/source/blender/gpu/GPU_material.h (+12, -7) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+148, -263) (Diff)
/source/blender/gpu/intern/gpu_material.c (+2, -7) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+146, -32) (Diff)
/source/blender/gpu/intern/gpu_node_graph.h (+15, -37) (Diff)
/source/blender/nodes/shader/nodes/node_shader_attribute.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_geometry.c (+2, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_normal_map.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tangent.c (+2, -2) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_coord.c (+2, -2) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_environment.c (+9, -5) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_image.c (+14, -18) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_sky.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_uvmap.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_vector_displacement.c (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_vertex_color.c (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_util.c (+1, -1) (Diff)