Blender Git Commit Log
Git Commits -> Revision 0e6d17e
Revision 0e6d17e by Clément Foucault (tmp-drw-callbatching) August 17, 2019, 12:48 (GMT) |
Workbench: Remove object_id and optimize material hash generation This greatly reduce shgroup count when rendering with outlines. In my testcase (30K suzanes with random instancing, 5 materials) it went from 27 to 39 fps (playback performance, no update). |
Commit Details:
Full Hash: 0e6d17edfeb9ede447b5bbe9e84fbb4c48175ac9
Parent Commit: f3a1080
Lines Changed: +85, -132
6 Modified Paths:
/source/blender/draw/engines/workbench/shaders/workbench_forward_transparent_accum_frag.glsl (+16, -8) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_prepass_frag.glsl (+4, -5) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+3, -15) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+2, -20) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+58, -74) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+2, -10) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_prepass_frag.glsl (+4, -5) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+3, -15) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+2, -20) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+58, -74) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+2, -10) (Diff)