glsl: Remove hash table from ir_set_program_inouts pass.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 31 Jan 2013 06:11:17 +0000 (22:11 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 3 Feb 2013 21:38:16 +0000 (13:38 -0800)
commit488ddb247c0f188d3f918e5869a8e529766d13ba
tree2011efb4c73f148f1899cd0ed55a5f0cd53d2d99
parentb56d6badad6b7cb0522f812f6839feeeecb72b83
glsl: Remove hash table from ir_set_program_inouts pass.

Back when ir_var_in and ir_var_out signified both function parameters
and shader input/outputs, we had trouble distinguishing the two when
looking at a dereference.  Now that we have separate ir_var_shader_in
and ir_var_shader_out modes, we can determine this easily.

Removing the hash table saves memory and CPU overhead.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_set_program_inouts.cpp