Blender Git Commit Log

Git Commits -> Revision 147eef9

Revision 147eef9 by Clément Foucault (master)
June 9, 2018, 19:04 (GMT)
Eevee: Improve compilation time (reduce branching).

This patch reduce the branching in the lamp loop, improving compilation time
noticeably (2372ms to 1785ms for the default shader).

This should not change the appearance of the shader.

Performance impact is negligeable.

Commit Details:

Full Hash: 147eef974114a032d9122f6d3ae3305868619877
Parent Commit: 45a5ddb
Lines Changed: +73, -229

1 Deleted Path:

/source/blender/draw/engines/eevee/shaders/bsdf_direct_lib.glsl (+0, -186)

5 Modified Paths:

/source/blender/draw/CMakeLists.txt (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+0, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+0, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/lamps_lib.glsl (+50, -35) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+23, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021