From: Aras Pranckevicius Date: Wed, 4 Aug 2010 14:31:04 +0000 (+0200) Subject: glsl2: Set ir_discard::ir_type when cloning it X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84ee01f40acf88185484df386b7715034e7685c9;p=mesa.git glsl2: Set ir_discard::ir_type when cloning it Fixes unset ir_type after inlining. --- diff --git a/src/glsl/ir.h b/src/glsl/ir.h index bee9f6a2de4..f88a243cc02 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -889,6 +889,7 @@ public: ir_discard(ir_rvalue *cond) { + this->ir_type = ir_type_discard; this->condition = cond; }