summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2012-03-29 10:51:24 -0700
committerKenneth Graunke <kenneth@whitecape.org>2012-07-30 15:15:48 -0700
commitd3de40742f50340789ae0df9af582e702e963300 (patch)
treece9dc1a33a1fd071e7424db9d4e505082ce734a9 /src/glsl
parent9d998a2a592ed688c90b408604b9dbec26b752ff (diff)
downloadexternal_mesa3d-d3de40742f50340789ae0df9af582e702e963300.zip
external_mesa3d-d3de40742f50340789ae0df9af582e702e963300.tar.gz
external_mesa3d-d3de40742f50340789ae0df9af582e702e963300.tar.bz2
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 <ian.d.romanick@intel.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Olivier Galibert <galibert@pobox.com>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/ir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 8506f60..f019837 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 {