glsl: fix unreachable(!"") to unreachable("")
authorTapani Pälli <tapani.palli@intel.com>
Mon, 30 Mar 2015 04:59:53 +0000 (07:59 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 30 Mar 2015 05:16:00 +0000 (08:16 +0300)
Correct error with commit 151fb1e where assert was renamed
to unreachable without removing ! from string argument.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/glsl/loop_controls.cpp

index d7f0b28090f35afa366ae7b0c2b5f6ab07b97557..51804bb5fe8563077fab5efe69326b0b9bca792d 100644 (file)
@@ -139,7 +139,7 @@ calculate_iterations(ir_rvalue *from, ir_rvalue *to, ir_rvalue *increment,
          iter = new(mem_ctx) ir_constant(double(iter_value + bias[i]));
          break;
       default:
-          unreachable(!"Unsupported type for loop iterator.");
+          unreachable("Unsupported type for loop iterator.");
       }
 
       ir_expression *const mul =