glsl ubo/ssbo: Add lower_buffer_access class
[mesa.git] / src / glsl / lower_noise.cpp
index cb32d28348629288e20824c2addbb2e85bfb711c..85f59b675e0469663a3d950fb57de49f6c2cd796 100644 (file)
@@ -51,7 +51,7 @@ public:
        * that implements noise.  No hardware has a noise instruction.
        */
       if (expr->operation == ir_unop_noise) {
-        *rvalue = ir_constant::zero(talloc_parent(expr), expr->type);
+        *rvalue = ir_constant::zero(ralloc_parent(expr), expr->type);
         this->progress = true;
       }
    }