Blender Git Commit Log
Git Commits -> Revision 4bf0c97
Revision 4bf0c97 by Clément Foucault (tmp-overlay-engine) November 20, 2019, 19:51 (GMT) |
GPU: Remove The use of geom shader for dashed lines Use the same trick used in overlay engine. Also fixed some undefined behavior with missing viewport uniform in some calls. |
Commit Details:
Full Hash: 4bf0c9793af2615ce0e9734cce18b9e92a46a271
Parent Commit: b695343
Lines Changed: +28, -164
3 Deleted Paths:
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_geom.glsl (+0, -65)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_width_geom.glsl (+0, -60)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_uniform_color_legacy_vert.glsl (+0, -27)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_width_geom.glsl (+0, -60)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_uniform_color_legacy_vert.glsl (+0, -27)
7 Modified Paths:
/source/blender/editors/space_sequencer/sequencer_draw.c (+4, -2) (Diff)
/source/blender/editors/transform/transform_snap.c (+3, -0) (Diff)
/source/blender/gpu/CMakeLists.txt (+0, -1) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+0, -3) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl (+7, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_uniform_color_vert.glsl (+7, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_uniform_color_vert.glsl (+7, -1) (Diff)
/source/blender/editors/transform/transform_snap.c (+3, -0) (Diff)
/source/blender/gpu/CMakeLists.txt (+0, -1) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+0, -3) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl (+7, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_uniform_color_vert.glsl (+7, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_uniform_color_vert.glsl (+7, -1) (Diff)