X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2Fglsl%2Fir_function_detect_recursion.cpp;h=4a774f666c9a6e39919cc735c053e0cb789c4398;hb=686f6c72068767c7343943790510aa82562795d8;hp=5b05274d0015ac64efa8c4b2dc207265f996d6cc;hpb=43d66c8c2d4d3d4dee1309856b6ce6c5393682e5;p=mesa.git diff --git a/src/compiler/glsl/ir_function_detect_recursion.cpp b/src/compiler/glsl/ir_function_detect_recursion.cpp index 5b05274d001..4a774f666c9 100644 --- a/src/compiler/glsl/ir_function_detect_recursion.cpp +++ b/src/compiler/glsl/ir_function_detect_recursion.cpp @@ -158,8 +158,7 @@ public: { progress = false; this->mem_ctx = ralloc_context(NULL); - this->function_hash = _mesa_hash_table_create(NULL, _mesa_hash_pointer, - _mesa_key_pointer_equal); + this->function_hash = _mesa_pointer_hash_table_create(NULL); } ~has_recursion_visitor()