diff options
author | Ian Romanick <[email protected]> | 2016-06-16 20:35:44 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-08-26 15:03:15 -0700 |
commit | 8fb4af77897385b0245becaa60f88e005d7b2006 (patch) | |
tree | d126cf9880cb7e2ac85e048e4279ddbf191a1aa6 /src/compiler/glsl/lower_ubo_reference.cpp | |
parent | 63af53dcd31cea89e5c8905e2a4898a5cb3d9ed4 (diff) |
glsl: Silence unused parameter warning
glsl/lower_buffer_access.cpp:324:55: warning: unused parameter ‘var’ [-Wunused-parameter]
ir_variable *var,
^
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/lower_ubo_reference.cpp')
-rw-r--r-- | src/compiler/glsl/lower_ubo_reference.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/lower_ubo_reference.cpp b/src/compiler/glsl/lower_ubo_reference.cpp index 083f43f93a3..1ed281c488a 100644 --- a/src/compiler/glsl/lower_ubo_reference.cpp +++ b/src/compiler/glsl/lower_ubo_reference.cpp @@ -320,7 +320,7 @@ lower_ubo_reference_visitor::setup_for_load_or_store(void *mem_ctx, *const_offset = ubo_var->Offset; this->struct_field = NULL; - setup_buffer_access(mem_ctx, var, deref, offset, const_offset, row_major, + setup_buffer_access(mem_ctx, deref, offset, const_offset, row_major, matrix_columns, &this->struct_field, packing); } |