X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2Fglsl%2Fpropagate_invariance.cpp;h=b3f1d810cdbe4ea45df76981beb9966f83afb45c;hb=0b565f715d24d74d844f0708e3ed17ad1ee14faf;hp=c137ff3324c20c06af484ed91d2befe08800b14e;hpb=89b604922d2fb50ca1013473b2003227d61507cd;p=mesa.git diff --git a/src/compiler/glsl/propagate_invariance.cpp b/src/compiler/glsl/propagate_invariance.cpp index c137ff3324c..b3f1d810cdb 100644 --- a/src/compiler/glsl/propagate_invariance.cpp +++ b/src/compiler/glsl/propagate_invariance.cpp @@ -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;