diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-06-21 16:16:05 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-06-23 11:24:26 -0700 |
commit | abee16e8cb3d894b05bc0d09552bfc143c0217fa (patch) | |
tree | 1c309947c1a29edc556ad9ae43f2702c3d59b56f /program.h | |
parent | 019a59b2642f403203d8bc8ea980efeeffcd6462 (diff) |
linker: Store the par-linked per-stage shaders in the glsl_program
Diffstat (limited to 'program.h')
-rw-r--r-- | program.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; |