Blender Git Loki
Git Commits -> Revision 8c09826
Revision 8c09826 by Sergey Sharybin (master) June 1, 2017, 10:33 (GMT) |
Gawain: Optimize shader uniform access Before this change Gawain was doing list lookup twice, doing string comparison of every and each input which is not efficient and not friendly for CPUs with small cache size. Now we store hash of input name together with actual name and compare hashes first. Additionally, we do everything in a single pass which is much better from cache coherency point of view. This brings Eevee cache population time from 80ms to 60ms on my desktop and from 800ms to 400ms for Clement when navigating in a file from T50027. Reviewers: merwin, dfelinto Subscribers: fclem Differential Revision: https://developer.blender.org/D2697 |
Commit Details:
Full Hash: 8c09826d58ad219b7229fcce396b967866458e99
Parent Commit: 3c703df
Committed By: Dalai Felinto
Lines Changed: +29, -24