Blender Git Commit Log
Git Commits -> Revision e0a2bd4
Revision e0a2bd4 by Mike Erwin (master) March 3, 2017, 02:28 (GMT) |
Gawain: add ShaderInterface for GLSL introspection After a GLSL program is linked we can get all its inputs & never have to ask it again. Several uniforms are considered "built-in". Nothing special about these to OpenGL itself, they just follow conventions of our built-in shaders. This will help the matrix API, immediate & batch drawing APIs, and allow extra error/compatibility checking. |
Commit Details:
Full Hash: e0a2bd43dda7490f495b11acdfa2ac7fec55b4ef
Parent Commit: 8594584
Lines Changed: +186, -0
2 Added Paths:
/source/blender/gpu/gawain/shader_interface.c (+135, -0) (View)
/source/blender/gpu/gawain/shader_interface.h (+49, -0) (View)
/source/blender/gpu/gawain/shader_interface.h (+49, -0) (View)
1 Modified Path:
/source/blender/gpu/CMakeLists.txt (+2, -0) (Diff)