Blender Git Commit Log

Git Commits -> Revision bb9b8b1

Revision bb9b8b1 by Sergey Sharybin (master)
October 5, 2017, 10:46 (GMT)
Gawain: Lookup uniforms and attributes from buckets

This way we reduce number of loops from look-over-all-inputs to
loop-over-collision, which is expected to be much less CPU ticks.

There is still possible optimization: use memory pool of some sort
to manage memory needed for hash entries, but that will only speedup
shader interface construction / deconstruction time.

There are also some trickery happening to speed up process even more
in the case there is no hash collisions detected when constructing
shader interface.

Commit Details:

Full Hash: bb9b8b13e582bc5bc961159e1e9c6d8d03cbff4c
Parent Commit: bda3e14
Lines Changed: +96, -36

2 Modified Paths:

/intern/gawain/gawain/gwn_shader_interface.h (+9, -0) (Diff)
/intern/gawain/src/gwn_shader_interface.c (+87, -36) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021