summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl/ir_constant_expression.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_constant_expression.cpp b/src/compiler/glsl/ir_constant_expression.cpp
index a9613b256b1..2664fefbc45 100644
--- a/src/compiler/glsl/ir_constant_expression.cpp
+++ b/src/compiler/glsl/ir_constant_expression.cpp
@@ -1726,6 +1726,9 @@ ir_expression::constant_expression_value(struct hash_table *variable_context)
case GLSL_TYPE_DOUBLE:
data.d[c] = op[c]->value.d[0];
break;
+ case GLSL_TYPE_BOOL:
+ data.b[c] = op[c]->value.b[0];
+ break;
default:
assert(0);
}