glsl2: Set ir_discard::ir_type when cloning it
authorAras Pranckevicius <aras@unity3d.com>
Wed, 4 Aug 2010 14:31:04 +0000 (16:31 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 4 Aug 2010 15:57:02 +0000 (08:57 -0700)
commit84ee01f40acf88185484df386b7715034e7685c9
treecf9fe0a9176b670b53c1079aebd0ccca49b4d99c
parentc22dee721695402d9f2678c100d2fff5c0c3f21f
glsl2: Set ir_discard::ir_type when cloning it

Fixes unset ir_type after inlining.
src/glsl/ir.h