X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglsl%2Flower_texture_projection.cpp;h=6e3aaecceee49096513dae9183775ea7da83a18a;hb=0d108116bd80b757fb01a84a9f1946ef870b57b8;hp=f82ca0a9fd92e58d1c3abf230213006564045ed7;hpb=aae338104fa6022b8b1d6b22c7ad1115b252b9b6;p=mesa.git diff --git a/src/glsl/lower_texture_projection.cpp b/src/glsl/lower_texture_projection.cpp index f82ca0a9fd9..6e3aaecceee 100644 --- a/src/glsl/lower_texture_projection.cpp +++ b/src/glsl/lower_texture_projection.cpp @@ -36,7 +36,6 @@ */ #include "ir.h" -#include "ir_rvalue_visitor.h" class lower_texture_projection_visitor : public ir_hierarchical_visitor { public: @@ -56,7 +55,7 @@ lower_texture_projection_visitor::visit_leave(ir_texture *ir) if (!ir->projector) return visit_continue; - void *mem_ctx = talloc_parent(ir); + void *mem_ctx = ralloc_parent(ir); ir_variable *var = new(mem_ctx) ir_variable(ir->projector->type, "projector", ir_var_auto);