diff options
Diffstat (limited to 'src/glsl/ir.cpp')
-rw-r--r-- | src/glsl/ir.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index 4468d9f8324..8c5441d332b 100644 --- a/src/glsl/ir.cpp +++ b/src/glsl/ir.cpp @@ -196,6 +196,9 @@ ir_expression::get_num_operands(ir_expression_operation op) if (op <= ir_last_binop) return 2; + + assert(false); + return 0; } static const char *const operator_strs[] = { |