diff options
author | Aras Pranckevicius <[email protected]> | 2010-08-04 16:31:04 +0200 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-08-04 08:57:02 -0700 |
commit | 84ee01f40acf88185484df386b7715034e7685c9 (patch) | |
tree | cf9fe0a9176b670b53c1079aebd0ccca49b4d99c /src/glsl | |
parent | c22dee721695402d9f2678c100d2fff5c0c3f21f (diff) |
glsl2: Set ir_discard::ir_type when cloning it
Fixes unset ir_type after inlining.
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/ir.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |