glsl: Generate the ir_last_* values
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 16 Apr 2015 00:19:04 +0000 (17:19 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Aug 2016 23:28:00 +0000 (16:28 -0700)
commit140ec58a07894da12440f1069ade3a4ed0ce0438
treec2ef55bd4350b2f783011103ce9674b05d51522a
parent7d6af9e59935959689ac9611f17abc06c6837f16
glsl: Generate the ir_last_* values

This ensures that they remain correct if the list is rearranged or new
opcodes are added.  I checked a diff of before and after to ensure that
each ir_last_ had the same value.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Acked-by: Dylan Baker <dylan@pnwbakers.com>
src/compiler/glsl/ir_expression_operation.py