From: Ian Romanick Date: Thu, 29 Mar 2012 17:51:24 +0000 (-0700) Subject: glsl: Fix ir_last_opcode value. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3de40742f50340789ae0df9af582e702e963300;p=mesa.git glsl: Fix ir_last_opcode value. Now that ir_quadop_vector exists, ir_last_binop and ir_last_opcode are no longer the same. Only one place currently uses this enumeration, and already handles ir_quadop_vector correctly. Signed-off-by: Ian Romanick Signed-off-by: Kenneth Graunke Reviewed-by: Olivier Galibert --- diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 8506f604058..f019837d5f7 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -1027,7 +1027,7 @@ enum ir_expression_operation { /** * A sentinel marking the last of all operations. */ - ir_last_opcode = ir_last_binop + ir_last_opcode = ir_quadop_vector }; class ir_expression : public ir_rvalue {