glsl: Rework ir_reader to handle expressions with four operands.
authorMatt Turner <mattst88@gmail.com>
Tue, 9 Apr 2013 23:43:14 +0000 (16:43 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 6 May 2013 17:17:12 +0000 (10:17 -0700)
commitf9e37879eb6407d9374e74d3982651b60ce096a1
tree38bc198ee8faad1a3c7bdd1b5ce1ac4b438013ee
parentf99f78e49a10b92e236ee0909eb806d353e1f2e6
glsl: Rework ir_reader to handle expressions with four operands.

Needed to support the bitfieldInsert() built-in added by
ARB_gpu_shader5.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/ir_reader.cpp