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/state_tracker | |
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/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index f68270d0f62..b8ca2c14dd6 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -3987,7 +3987,6 @@ get_pixel_transfer_visitor(struct st_fragment_program *fp, prog->Parameters = _mesa_combine_parameter_lists(params, original->prog->Parameters); prog->Attributes = _mesa_clone_parameter_list(original->prog->Attributes); - prog->Varying = _mesa_clone_parameter_list(original->prog->Varying); _mesa_free_parameter_list(params); count_resources(v, prog); fp->glsl_to_tgsi = v; @@ -4063,7 +4062,6 @@ get_bitmap_visitor(struct st_fragment_program *fp, /* Make modifications to fragment program info. */ prog->Parameters = _mesa_clone_parameter_list(original->prog->Parameters); prog->Attributes = _mesa_clone_parameter_list(original->prog->Attributes); - prog->Varying = _mesa_clone_parameter_list(original->prog->Varying); count_resources(v, prog); fp->glsl_to_tgsi = v; } @@ -4969,7 +4967,6 @@ get_mesa_program(struct gl_context *ctx, if (!prog) return NULL; prog->Parameters = _mesa_new_parameter_list(); - prog->Varying = _mesa_new_parameter_list(); prog->Attributes = _mesa_new_parameter_list(); v->ctx = ctx; v->prog = prog; |