summaryrefslogtreecommitdiff
path: root/program.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-06-21 16:16:05 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-06-23 11:24:26 -0700
commitabee16e8cb3d894b05bc0d09552bfc143c0217fa (patch)
tree1c309947c1a29edc556ad9ae43f2702c3d59b56f /program.h
parent019a59b2642f403203d8bc8ea980efeeffcd6462 (diff)
linker: Store the par-linked per-stage shaders in the glsl_program
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;