mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 12:40:09 +01:00
mesa: Remove unused field gl_uniform_buffer_variable::Buffer
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
feea85da06
commit
56053b0a2d
2 changed files with 0 additions and 2 deletions
|
|
@ -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() ||
|
||||
|
|
|
|||
|
|
@ -2274,7 +2274,6 @@ struct gl_uniform_buffer_variable
|
|||
{
|
||||
char *Name;
|
||||
const struct glsl_type *Type;
|
||||
unsigned int Buffer;
|
||||
unsigned int Offset;
|
||||
GLboolean RowMajor;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue