Re: [Mesa-dev] main/hash_table.h vs program/hash_table.h

2013-12-22 Thread Eric Anholt
Connor Abbott writes: > Hi, > > While looking at the GLSL IR code, I noticed that different parts of the > code use 2 different hash table implementations. ir_loop_analysis, > ir_variable_refcount, ir_clone, etc. use struct hash_table under > program/hash_table.h, whereas ir_variable_refcount and

[Mesa-dev] main/hash_table.h vs program/hash_table.h

2013-12-20 Thread Connor Abbott
Hi, While looking at the GLSL IR code, I noticed that different parts of the code use 2 different hash table implementations. ir_loop_analysis, ir_variable_refcount, ir_clone, etc. use struct hash_table under program/hash_table.h, whereas ir_variable_refcount and link_uniform_blocks use struct has