OSDN Git Service

glsl: Fix ir_last_opcode value.
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 29 Mar 2012 17:51:24 +0000 (10:51 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 30 Jul 2012 22:15:48 +0000 (15:15 -0700)
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 <ian.d.romanick@intel.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Olivier Galibert <galibert@pobox.com>
src/glsl/ir.h

index 8506f60..f019837 100644 (file)
@@ -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 {