Blender Git Commit Log

Git Commits -> Revision 681661d

Revision 681661d by Germano Cavalcante (master)
March 15, 2019, 20:02 (GMT)
GPU: Simplify select shaders.

The shaders are: `GPU_SHADER_3D_FLAT_SELECT_ID` and `GPU_SHADER_3D_UNIFORM_SELECT_ID`.
This commit allows the drawing of the mesh select ids to be done on a 32UI format texture.
This simplifies the shader that previously acted on the backbuffer and had to do an uint to rgba conversion.

Differential Revision: https://developer.blender.org/D4350

Commit Details:

Full Hash: 681661dbed121c7b81e9129c57df5eadb03c1009
Parent Commit: 4510f88
Lines Changed: +390, -468

23 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+0, -1) (Diff)
/source/blender/draw/DRW_engine.h (+4, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+125, -19) (Diff)
/source/blender/editors/include/ED_mesh.h (+6, -6) (Diff)
/source/blender/editors/include/ED_view3d.h (+17, -9) (Diff)
/source/blender/editors/mesh/editface.c (+10, -20) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+27, -40) (Diff)
/source/blender/editors/mesh/meshtools.c (+17, -12) (Diff)
/source/blender/editors/physics/particle_edit.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c (+5, -5) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+49, -1) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+0, -9) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+111, -144) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+3, -1) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+10, -22) (Diff)
/source/blender/gpu/GPU_draw.h (+0, -5) (Diff)
/source/blender/gpu/GPU_extensions.h (+0, -1) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+0, -142) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+0, -12) (Diff)
/source/blender/gpu/shaders/gpu_shader_3D_selection_id_vert.glsl (+2, -6) (Diff)
/source/blender/gpu/shaders/gpu_shader_selection_id_frag.glsl (+2, -10) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021