mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
glsl2: Set ir_discard::ir_type when cloning it
Fixes unset ir_type after inlining.
This commit is contained in:
parent
c22dee7216
commit
84ee01f40a
1 changed files with 1 additions and 0 deletions
|
|
@ -889,6 +889,7 @@ public:
|
|||
|
||||
ir_discard(ir_rvalue *cond)
|
||||
{
|
||||
this->ir_type = ir_type_discard;
|
||||
this->condition = cond;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue