diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-05-23 04:45:31 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-05-23 04:45:31 +0000 |
commit | 1e3bb66f697283b6bd192f3a000d99d637624079 (patch) | |
tree | 4fa9dfc6051e601827bebd269cc82209e5ac2c56 /lib/mesa/src/compiler/glsl/link_functions.cpp | |
parent | 644b24d7fd4147e54e47ade73d21466d60f0082c (diff) |
Import Mesa 19.0.5
Diffstat (limited to 'lib/mesa/src/compiler/glsl/link_functions.cpp')
-rw-r--r-- | lib/mesa/src/compiler/glsl/link_functions.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/mesa/src/compiler/glsl/link_functions.cpp b/lib/mesa/src/compiler/glsl/link_functions.cpp index e73a72c86..4998d39dc 100644 --- a/lib/mesa/src/compiler/glsl/link_functions.cpp +++ b/lib/mesa/src/compiler/glsl/link_functions.cpp @@ -47,8 +47,7 @@ public: this->success = true; this->linked = linked; - this->locals = _mesa_set_create(NULL, _mesa_hash_pointer, - _mesa_key_pointer_equal); + this->locals = _mesa_pointer_set_create(NULL); } ~call_link_visitor() @@ -148,8 +147,7 @@ public: * replace signature stored in a function. One could easily be added, * but this avoids the need. */ - struct hash_table *ht = _mesa_hash_table_create(NULL, _mesa_hash_pointer, - _mesa_key_pointer_equal); + struct hash_table *ht = _mesa_pointer_hash_table_create(NULL); exec_list formal_parameters; foreach_in_list(const ir_instruction, original, &sig->parameters) { |