summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-04-11 10:11:13 -0700
committerMatt Turner <[email protected]>2015-04-11 10:23:05 -0700
commit8e414cbdec76ce33a16425631ac87cb4ba827409 (patch)
treeb5f06451714b61958d9f5e855e94ef637e5cac9c /src/glsl
parentea0c35faf88962e049c0a67ce714e03933383be1 (diff)
glsl: Mark path as unreachable.
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/ast_function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp
index 918be6966d5..36a0d193d9e 100644
--- a/src/glsl/ast_function.cpp
+++ b/src/glsl/ast_function.cpp
@@ -1791,7 +1791,7 @@ ast_function_expression::hir(exec_list *instructions,
return value;
}
- return ir_rvalue::error_value(ctx);
+ unreachable("not reached");
}
ir_rvalue *