projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl: rename record_location_offset() -> struct_location_offset()
[mesa.git]
/
src
/
compiler
/
glsl
/
opt_constant_variable.cpp
diff --git
a/src/compiler/glsl/opt_constant_variable.cpp
b/src/compiler/glsl/opt_constant_variable.cpp
index 15d8cf7cdfd1a2dccb2ac2351910caf48e9920e1..a1fffd4a5f124072b2f5c97001d4d0246c11cd9a 100644
(file)
--- a/
src/compiler/glsl/opt_constant_variable.cpp
+++ b/
src/compiler/glsl/opt_constant_variable.cpp
@@
-186,8
+186,7
@@
do_constant_variable(exec_list *instructions)
bool progress = false;
ir_constant_variable_visitor v;
- v.ht = _mesa_hash_table_create(NULL, _mesa_hash_pointer,
- _mesa_key_pointer_equal);
+ v.ht = _mesa_pointer_hash_table_create(NULL);
v.run(instructions);
hash_table_foreach(v.ht, hte) {