diff options
-rw-r--r-- | src/compiler/glsl/ir_variable_refcount.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_variable_refcount.h b/src/compiler/glsl/ir_variable_refcount.h index 08a11c01495..0a8eec7a269 100644 --- a/src/compiler/glsl/ir_variable_refcount.h +++ b/src/compiler/glsl/ir_variable_refcount.h @@ -72,8 +72,14 @@ public: virtual ir_visitor_status visit_enter(ir_function_signature *); virtual ir_visitor_status visit_leave(ir_assignment *); + /** + * Find variable in the hash table, and insert it if not present + */ ir_variable_refcount_entry *get_variable_entry(ir_variable *var); + /** + * Hash table mapping ir_variable to ir_variable_refcount_entry. + */ struct hash_table *ht; void *mem_ctx; |