diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/gawain/gawain/gwn_shader_interface.h | 1 | ||||
-rw-r--r-- | intern/gawain/src/gwn_shader_interface.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/intern/gawain/gawain/gwn_shader_interface.h b/intern/gawain/gawain/gwn_shader_interface.h index 3be2831e539..150b3b4fcc0 100644 --- a/intern/gawain/gawain/gwn_shader_interface.h +++ b/intern/gawain/gawain/gwn_shader_interface.h @@ -36,6 +36,7 @@ typedef enum { GWN_UNIFORM_COLOR, // vec4 color GWN_UNIFORM_EYE, // vec3 eye + GWN_UNIFORM_CALLID, // int callId GWN_UNIFORM_CUSTOM, // custom uniform, not one of the above built-ins diff --git a/intern/gawain/src/gwn_shader_interface.c b/intern/gawain/src/gwn_shader_interface.c index e92cabec12f..95c18cf1d39 100644 --- a/intern/gawain/src/gwn_shader_interface.c +++ b/intern/gawain/src/gwn_shader_interface.c @@ -48,6 +48,7 @@ static const char* BuiltinUniform_name(Gwn_UniformBuiltin u) [GWN_UNIFORM_COLOR] = "color", [GWN_UNIFORM_EYE] = "eye", + [GWN_UNIFORM_CALLID] = "callId", [GWN_UNIFORM_CUSTOM] = NULL, [GWN_NUM_UNIFORMS] = NULL, |