Blender Git Commit Log

Git Commits -> Revision b3e38cf

Revision b3e38cf by Mike Erwin (master)
April 17, 2017, 05:19 (GMT)
Gawain: look up uniforms by name quicker

ShaderInterface_uniform searches custom uniforms first, then builtin uniforms if needed.

This reduces the amount of string matching since you're almost certainly looking for one of those custom uniforms. Otherwise you would've called ShaderInterface_**builtin**_uniform.

Commit Details:

Full Hash: b3e38cfc6b6320c702b93fe179323ed79583abd9
Parent Commit: 47e0d2b
Lines Changed: +20, -3

1 Modified Path:

/intern/gawain/src/shader_interface.c (+20, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021