glsl: Reorder ir_type_* enum for easier comparisons.
authorMatt Turner <mattst88@gmail.com>
Sat, 31 May 2014 18:20:37 +0000 (11:20 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 4 Jun 2014 00:58:34 +0000 (17:58 -0700)
commit943cc7ff173bc815553d9608ac73de8dc29729d3
tree9ee7cb247f3dba4ed5851d095c3303d2bf21d147
parent3540b5eb55d07f46f471956dd4fc18d5102b26f4
glsl: Reorder ir_type_* enum for easier comparisons.

Makes checking whether an object is an ir_dereference, an ir_rvalue, or
an ir_jump simpler. Since ir_dereference is a subclass or ir_rvalue,
list its subtypes first so that they can both generate nice code.

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
src/glsl/ir.h