glsl: Fix tautological comparison.
authorMatt Turner <mattst88@gmail.com>
Fri, 21 Nov 2014 22:53:20 +0000 (14:53 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 24 Nov 2014 22:09:23 +0000 (14:09 -0800)
commitb754e525325d6a04d2c43372cd359486ff69b812
treeb3929b7d7c727312e7ae3d1f7b2003313a39eebb
parent024db256d446668e65d39ca988b00ba16e3a88bc
glsl: Fix tautological comparison.

Caught by clang.

warning: comparison of constant -1 with expression of type
         'ir_texture_opcode' is always false
      [-Wtautological-constant-out-of-range-compare]
      if (op == -1)
          ~~ ^  ~~

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_reader.cpp