Module: Mesa Branch: master Commit: 56053b0a2d80c5f7041a588fdc442977b1362289 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=56053b0a2d80c5f7041a588fdc442977b1362289
Author: Ian Romanick <[email protected]> Date: Thu Dec 13 02:22:24 2012 -0800 mesa: Remove unused field gl_uniform_buffer_variable::Buffer Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> --- src/glsl/ast_to_hir.cpp | 1 - src/mesa/main/mtypes.h | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 31dd51a..de3ce90 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -4166,7 +4166,6 @@ ast_uniform_block::hir(exec_list *instructions, ubo_var->Name = ralloc_strdup(state->uniform_blocks, var->name); ubo_var->Type = var->type; - ubo_var->Buffer = ubo - state->uniform_blocks; ubo_var->Offset = 0; /* Assigned at link time. */ if (var->type->is_matrix() || diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index d0c0e24..e696d30 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2274,7 +2274,6 @@ struct gl_uniform_buffer_variable { char *Name; const struct glsl_type *Type; - unsigned int Buffer; unsigned int Offset; GLboolean RowMajor; }; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
