Blender Git Commit Log

Git Commits -> Revision e72fa71

Revision e72fa71 by Campbell Barton (master)
January 24, 2019, 21:01 (GMT)
Cleanup: remove duplicated shaders that only added clipping checks

Originally I wanted to avoid adding draw manager specific ifdef's all
over generic shaders however this isn't needed in so many places.

Also there are shaders that are only used by the draw manager so
duplicating them only to have the original unused doesn't make sense.

Commit Details:

Full Hash: e72fa714a800f851298dc29f736aa5231501dd0b
Parent Commit: 6d8394d
Lines Changed: +25, -42

2 Deleted Paths:

/source/blender/draw/modes/shaders/drw_shader_3D_smooth_color_vert.glsl (+0, -17)
/source/blender/draw/modes/shaders/drw_shader_3D_vert.glsl (+0, -13)

5 Modified Paths:

/source/blender/draw/CMakeLists.txt (+0, -2) (Diff)
/source/blender/draw/intern/draw_builtin_shader.c (+6, -7) (Diff)
/source/blender/draw/modes/object_mode.c (+3, -3) (Diff)
/source/blender/gpu/shaders/gpu_shader_3D_smooth_color_vert.glsl (+8, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_3D_vert.glsl (+8, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021