glsl: fix conversions from uint to bool and from float/bool to uint
[mesa.git] / src / glsl / lower_if_to_cond_assign.cpp
index 40ffc45c86c0575743dc43c5f5d68ba7f4a6b950..e3a1065d9963e5026df7af2745c33450f87f4e71 100644 (file)
@@ -171,7 +171,7 @@ ir_if_to_cond_assign_visitor::visit_leave(ir_if *ir)
    if (found_control_flow)
       return visit_continue;
 
-   void *mem_ctx = talloc_parent(ir);
+   void *mem_ctx = ralloc_parent(ir);
 
    /* Store the condition to a variable so the assignment conditions are
     * simpler.