diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2019-07-31 09:29:18 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2019-07-31 22:03:45 +0300 |
commit | feed46c4ae480ccd3f1b1ee6bb61adaf308f85c3 (patch) | |
tree | 473f993bc20614aa7459aecb9d1fa52a5c92f86b /source/blender/editors/render/render_shading.c | |
parent | c72f6b713f8323e0e7a71e91064f699bb9b288ab (diff) |
Merge per-shader SVM nodes in the main update thread to avoid locking and resizing overhead
In a test file containing 1300 copies of the same shader, this reduces shader update time from 3.1 sec to 0.05 sec.
Thanks to @swerner for noticing this issue.
Reviewers: brecht, sergey, swerner
Subscribers: swerner
Differential Revision: https://developer.blender.org/D5376
Diffstat (limited to 'source/blender/editors/render/render_shading.c')
0 files changed, 0 insertions, 0 deletions