blender/intern/gawain
Sergey Sharybin 8c09826d58 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
2017-06-01 12:33:41 +02:00
..
gawain Gawain: Optimize shader uniform access 2017-06-01 12:33:41 +02:00
src Gawain: Optimize shader uniform access 2017-06-01 12:33:41 +02:00
CMakeLists.txt group WITH_LEGACY_OPENGL with the other GL options 2017-04-24 17:41:26 -04:00