diff options
author | Ian Romanick <[email protected]> | 2011-08-16 11:06:54 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-09-30 15:37:00 -0700 |
commit | cd76f114e608ffb93a03ac3ffc3e11876d6a057e (patch) | |
tree | 1b0294fc7b2460579ffc51122bf1cc1e6d2da170 /src/mesa/program/program.c | |
parent | a9f25160af9c12cdd675819a74fb7b1a92cfce34 (diff) |
mesa: Remove unused field gl_program::Varying
Lots of things set and copy this field around, but nothing uses it.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r-- | src/mesa/program/program.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index ecff2344a44..bdab30466cc 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -394,9 +394,6 @@ _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog) if (prog->Parameters) { _mesa_free_parameter_list(prog->Parameters); } - if (prog->Varying) { - _mesa_free_parameter_list(prog->Varying); - } if (prog->Attributes) { _mesa_free_parameter_list(prog->Attributes); } @@ -522,8 +519,6 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog) if (prog->Parameters) clone->Parameters = _mesa_clone_parameter_list(prog->Parameters); memcpy(clone->LocalParams, prog->LocalParams, sizeof(clone->LocalParams)); - if (prog->Varying) - clone->Varying = _mesa_clone_parameter_list(prog->Varying); if (prog->Attributes) clone->Attributes = _mesa_clone_parameter_list(prog->Attributes); memcpy(clone->LocalParams, prog->LocalParams, sizeof(clone->LocalParams)); |