glsl: Remove integer matrix support from ir_dereference_array::constant_expression_value
[mesa.git] / src / compiler / glsl / propagate_invariance.cpp
index c137ff3324c20c06af484ed91d2befe08800b14e..b3f1d810cdbe4ea45df76981beb9966f83afb45c 100644 (file)
@@ -27,7 +27,7 @@
  * compute invariant or precise values.
  *
  * The GLSL spec (depending on what version you read) says, among the
- * conditions for geting bit-for-bit the same values on an invariant output:
+ * conditions for getting bit-for-bit the same values on an invariant output:
  *
  *    "All operations in the consuming expressions and any intermediate
  *    expressions must be the same, with the same order of operands and same
@@ -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;