summaryrefslogtreecommitdiffstats
path: root/src/glsl/loop_controls.cpp
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2015-03-30 07:59:53 +0300
committerTapani Pälli <[email protected]>2015-03-30 08:16:00 +0300
commitce83a6ec8142894531cfad8cd677cd3dc47eced7 (patch)
tree4f4c7402a56c66d019d293b93dc49c4b03c2683f /src/glsl/loop_controls.cpp
parent938b17940fe0f9823665c1450c1254936651e9d9 (diff)
glsl: fix unreachable(!"") to unreachable("")
Correct error with commit 151fb1e where assert was renamed to unreachable without removing ! from string argument. Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/glsl/loop_controls.cpp')
-rw-r--r--src/glsl/loop_controls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/loop_controls.cpp b/src/glsl/loop_controls.cpp
index d7f0b28090f..51804bb5fe8 100644
--- a/src/glsl/loop_controls.cpp
+++ b/src/glsl/loop_controls.cpp
@@ -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 =