glsl: Silence unused parameter warning
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 1 Nov 2017 23:25:37 +0000 (16:25 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 9 Nov 2017 02:37:29 +0000 (18:37 -0800)
commit2c7657f62cd717ecb38487620e56c67b3c785809
tree157544d8806dbf042a77a0f0fd91aee62aba1145
parent6bec8bcd79ed8bb3e3d5b56891df0fc5bf5e8cd3
glsl: Silence unused parameter warning

glsl/lower_shared_reference.cpp: In member function ‘virtual void
{anonymous}::lower_shared_reference_visitor::insert_buffer_access(void*,
ir_dereference*, const glsl_type*, ir_rvalue*, unsigned int, int)’:

glsl/lower_shared_reference.cpp:244:58: warning: unused parameter
‘channel’ [-Wunused-parameter]
                                                      int channel)
                                                          ^~~~~~~

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/lower_shared_reference.cpp