diff options
author | Eric Anholt <eric@anholt.net> | 2010-06-30 11:49:17 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-30 12:01:42 -0700 |
commit | 849e18153cd91d812f694b806a84008498860bc3 (patch) | |
tree | 7a8df32990a8c3dd9697c641369d1f125a038afa /src/mesa/main | |
parent | 0eda9ae0a6bcd6a7e014df046c87fac5caee0e9e (diff) |
glsl2: Use Mesa's gl_shader_program instead of our own struct glsl_program.
This avoids more allocation and shuffling of data around.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 6fc7e29baf..bc90b1e044 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2005,6 +2005,9 @@ struct gl_shader_program GLboolean Validated; GLboolean _Used; /**< Ever used for drawing? */ GLchar *InfoLog; + + GLuint _NumLinkedShaders; + struct gl_shader **_LinkedShaders; }; |