glsl: Add some comments to methods of ir_variable_refcount_visitor
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 7 Nov 2016 22:24:39 +0000 (14:24 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 9 Nov 2016 20:47:51 +0000 (12:47 -0800)
commitfbc1a4b7d26dced9a02cf41a9313d0d43eb014e3
treeb6d505e965f61a73218ed80c4a7d93e9dd237989
parent14926330703bb5ea6a84c845e192021f057f9401
glsl: Add some comments to methods of ir_variable_refcount_visitor

It was not obvious from the just the .h file what the hash table
contained.  It was also not obvious that get_variable_entry would create
a new entry in the hash table.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/ir_variable_refcount.h