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_buffer_access.h | |
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_buffer_access.h')
-rw-r--r-- | src/compiler/glsl/lower_buffer_access.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/lower_buffer_access.h b/src/compiler/glsl/lower_buffer_access.h index db9ac45ef10..a2e3e7d8284 100644 --- a/src/compiler/glsl/lower_buffer_access.h +++ b/src/compiler/glsl/lower_buffer_access.h @@ -54,7 +54,7 @@ public: bool is_dereferenced_thing_row_major(const ir_rvalue *deref); - void setup_buffer_access(void *mem_ctx, ir_variable *var, ir_rvalue *deref, + void setup_buffer_access(void *mem_ctx, ir_rvalue *deref, ir_rvalue **offset, unsigned *const_offset, bool *row_major, int *matrix_columns, const glsl_struct_field **struct_field, |