summaryrefslogtreecommitdiff
path: root/program.h
diff options
context:
space:
mode:
Diffstat (limited to 'program.h')
-rw-r--r--program.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/program.h b/program.h
index 57985c4758..eff5008050 100644
--- a/program.h
+++ b/program.h
@@ -89,6 +89,14 @@ struct glsl_program {
GLuint NumShaders; /**< number of attached shaders */
struct glsl_shader **Shaders; /**< List of attached the shaders */
+ /**
+ * Per-stage shaders resulting from the first stage of linking.
+ */
+ /*@{*/
+ unsigned _NumLinkedShaders;
+ struct glsl_shader **_LinkedShaders;
+ /*@}*/
+
/* post-link info: */
struct gl_uniform_list *Uniforms;
struct gl_program_parameter_list *Varying;