diff options
author | Ian Romanick <[email protected]> | 2016-12-12 11:19:20 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-12-19 15:55:44 -0800 |
commit | dd4fada6cddb2be4f3969c63aafca228407a2da3 (patch) | |
tree | ef02893c2e2ff1bf1e50a4ea8c8dc483ab56bc7f /src/compiler/glsl | |
parent | 88cc9484f800d0d1ffc684552b09e17a9c565cd2 (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r-- | src/compiler/glsl/propagate_invariance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/propagate_invariance.cpp b/src/compiler/glsl/propagate_invariance.cpp index b834b4969f9..b3f1d810cdb 100644 --- a/src/compiler/glsl/propagate_invariance.cpp +++ b/src/compiler/glsl/propagate_invariance.cpp @@ -83,7 +83,7 @@ ir_invariance_propagation_visitor::visit_enter(ir_assignment *ir) } ir_visitor_status -ir_invariance_propagation_visitor::visit_leave(ir_assignment *ir) +ir_invariance_propagation_visitor::visit_leave(ir_assignment *) { this->dst_var = NULL; |