Blender Git Commit Log

Git Commits -> Revision 179bb97

Revision 179bb97 by Mike Erwin (master)
June 7, 2017, 20:20 (GMT)
Gawain: stricter lookup of builtin uniforms

UNIFORM_NONE should never match a valid uniform (builtin or custom).

The logic for UNIFORM_CUSTOM was just wrong, since it returned the first custom uniform. This function should only accept builtin (non-custom) uniforms.

Commit Details:

Full Hash: 179bb97740805904d65c2bbdf84b658c5292d1f1
Parent Commit: bb3e669
Lines Changed: +5, -0

1 Modified Path:

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