ast: Updated AST_NUM_OPERATORS for coherence with ast_operators
authorAndres Gomez <agomez@igalia.com>
Sun, 31 Jul 2016 16:07:34 +0000 (19:07 +0300)
committerAndres Gomez <agomez@igalia.com>
Tue, 2 Aug 2016 18:33:03 +0000 (21:33 +0300)
commit3356ac208b4bb221de455125906ab5bfe6c303db
tree35bbae14f4f2e11a536f279116035d5ce9f2e09e
parentc3211ae093751fe1e144a96768dcb12af1a3a613
ast: Updated AST_NUM_OPERATORS for coherence with ast_operators

AST_NUM_OPERATORS stores the dimension of the ast_operators
enumeration but was not updated after its last modification.

This doesn't add any real modification for any code paths but it makes
sense for coherence.

v2 (Eric Engestrom): Just place the define at the end of the
                     enumeration, not below.

Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/compiler/glsl/ast.h
src/compiler/glsl/ast_to_hir.cpp