glsl: Silence unused parameter warning in propagate_invariance.cpp
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 12 Dec 2016 19:19:20 +0000 (11:19 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Dec 2016 23:55:44 +0000 (15:55 -0800)
commitdd4fada6cddb2be4f3969c63aafca228407a2da3
treeef02893c2e2ff1bf1e50a4ea8c8dc483ab56bc7f
parent88cc9484f800d0d1ffc684552b09e17a9c565cd2
glsl: Silence unused parameter warning in propagate_invariance.cpp

glsl/propagate_invariance.cpp: In member function ‘virtual ir_visitor_status {anonymous}::ir_invariance_propagation_visitor::visit_leave(ir_assignment*)’:
glsl/propagate_invariance.cpp:86:63: warning: unused parameter ‘ir’ [-Wunused-parameter]
 ir_invariance_propagation_visitor::visit_leave(ir_assignment *ir)
                                                               ^~

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/propagate_invariance.cpp