diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-03-03 05:27:51 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-03-03 05:28:28 +0300 |
commit | e0a2bd43dda7490f495b11acdfa2ac7fec55b4ef (patch) | |
tree | 23451e2ad5983aced65f5d553d72e30ddd906106 /source/blender/gpu/CMakeLists.txt | |
parent | 85945849a9d10f5daa72d1adca1f8e2b10407bea (diff) |
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.
Diffstat (limited to 'source/blender/gpu/CMakeLists.txt')
-rw-r--r-- | source/blender/gpu/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/CMakeLists.txt b/source/blender/gpu/CMakeLists.txt index 148fb4fcb2f..82c9ce20a49 100644 --- a/source/blender/gpu/CMakeLists.txt +++ b/source/blender/gpu/CMakeLists.txt @@ -83,6 +83,8 @@ set(SRC gawain/imm_util.h gawain/primitive.h gawain/primitive.c + gawain/shader_interface.c + gawain/shader_interface.h gawain/vertex_buffer.c gawain/vertex_buffer.h gawain/vertex_format.c |