aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_ir.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-24 10:18:14 -0600
committerBrian <[email protected]>2007-03-24 10:18:14 -0600
commit0e71d08e8df7f59da74e78212fe8433ceb7c7315 (patch)
treedb2a15d462a631290fcd095fbbe24af34f6860ef /src/mesa/shader/slang/slang_ir.h
parentb50b036ffb795a12106bd59b1a08b0287a8b3388 (diff)
Properly free the slang_ir_node->Store data (use ref counting).
Diffstat (limited to 'src/mesa/shader/slang/slang_ir.h')
-rw-r--r--src/mesa/shader/slang/slang_ir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_ir.h b/src/mesa/shader/slang/slang_ir.h
index 2b7d8229326..2e90409cafd 100644
--- a/src/mesa/shader/slang/slang_ir.h
+++ b/src/mesa/shader/slang/slang_ir.h
@@ -147,6 +147,7 @@ struct _slang_ir_storage
GLint Index; /**< -1 means unallocated */
GLint Size; /**< number of floats */
GLuint Swizzle;
+ GLint RefCount; /**< Used during IR tree delete */
};
typedef struct _slang_ir_storage slang_ir_storage;