Blender Git Commit Log

Git Commits -> Revision 8444aaa

Revision 8444aaa by Clément Foucault (master)
March 10, 2018, 01:18 (GMT)
DRW: Put all view-only dependant uniform in a UBO.

This leads to less lookups to the GWNShaderInterface and less uniform upload.

We still keep a legacy path so that Builtin uniforms can still work. We might restrict this path to Builtin shader only in the future.

Commit Details:

Full Hash: 8444aaaa693a9b9e613d801612ea46dfd9b82dba
Parent Commit: 4540bd2
Lines Changed: +76, -37

1 Added Path:

/source/blender/draw/modes/shaders/common_view_lib.glsl (+14, -0) (View)

6 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+8, -1) (Diff)
/source/blender/draw/intern/draw_manager.h (+8, -5) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+31, -26) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+13, -4) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021