Blender Git Commit Log

Git Commits -> Revision 26f25b1

Revision 26f25b1 by Mike Erwin (master)
April 13, 2017, 22:37 (GMT)
OpenGL: use ShaderInterface to look up uniforms

These were the last few glGetUniformLocation calls in source/blender.

The new system gets uniform information once when a shader is created, then uses this cached info every time after that.

Commit Details:

Full Hash: 26f25b1b27bd850b0e6cd1bfc045fcfd41f1ba3b
Parent Commit: 532532a
Lines Changed: +6, -6

1 Modified Path:

/source/blender/gpu/intern/gpu_shader.c (+6, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021