glsl/linker: check for xfb_offset aliasing
[mesa.git] / src / compiler / glsl / ir_function_detect_recursion.cpp
index 5b05274d0015ac64efa8c4b2dc207265f996d6cc..4a774f666c9a6e39919cc735c053e0cb789c4398 100644 (file)
@@ -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()