Blender Git Commit Log

Git Commits -> Revision 3bc6b83

Revision 3bc6b83 by Mike Erwin (master)
April 17, 2017, 05:45 (GMT)
Gawain: shrink ShaderInterface name buffer

ShaderInterface stores names of custom uniforms and all attributes in an internal buffer, but it doesn't know how large to make this buffer until all inputs are scanned.

This commit shrinks the buffer to the exact size needed.

Commit Details:

Full Hash: 3bc6b831d82724578fc8150d863b54f334db2bf4
Parent Commit: b3e38cf
Lines Changed: +23, -3

1 Modified Path:

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