projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c22dee7
)
glsl2: Set ir_discard::ir_type when cloning it
author
Aras Pranckevicius
<aras@unity3d.com>
Wed, 4 Aug 2010 14:31:04 +0000
(16:31 +0200)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 4 Aug 2010 15:57:02 +0000
(08:57 -0700)
Fixes unset ir_type after inlining.
src/glsl/ir.h
patch
|
blob
|
history
diff --git
a/src/glsl/ir.h
b/src/glsl/ir.h
index bee9f6a2de4b2ac3f4600b6a78482ac7c3140c3c..f88a243cc026d2cef90cd1027017163e70d3dcf6 100644
(file)
--- 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;
}