summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/lower_buffer_access.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-06-16 20:35:44 -0700
committerIan Romanick <[email protected]>2016-08-26 15:03:15 -0700
commit8fb4af77897385b0245becaa60f88e005d7b2006 (patch)
treed126cf9880cb7e2ac85e048e4279ddbf191a1aa6 /src/compiler/glsl/lower_buffer_access.cpp
parent63af53dcd31cea89e5c8905e2a4898a5cb3d9ed4 (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.cpp')
-rw-r--r--src/compiler/glsl/lower_buffer_access.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/glsl/lower_buffer_access.cpp b/src/compiler/glsl/lower_buffer_access.cpp
index 69dc82bf261..51e65608c35 100644
--- a/src/compiler/glsl/lower_buffer_access.cpp
+++ b/src/compiler/glsl/lower_buffer_access.cpp
@@ -321,7 +321,6 @@ lower_buffer_access::is_dereferenced_thing_row_major(const ir_rvalue *deref)
*/
void
lower_buffer_access::setup_buffer_access(void *mem_ctx,
- ir_variable *var,
ir_rvalue *deref,
ir_rvalue **offset,
unsigned *const_offset,