From a5bbe206a8d6ee13cb90810d8e7011e332697910 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 15 Jan 2007 11:08:10 -0700 Subject: comments --- src/mesa/shader/slang/slang_emit.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mesa/shader/slang') diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index 81f85655023..5d7e5b318f5 100644 --- a/src/mesa/shader/slang/slang_emit.c +++ b/src/mesa/shader/slang/slang_emit.c @@ -302,6 +302,10 @@ alloc_temp_storage(slang_var_table *vt, slang_ir_node *n, GLint size) } +/** + * Free temporary storage, if n->Store is, in fact, temp storage. + * Otherwise, no-op. + */ static void free_temp_storage(slang_var_table *vt, slang_ir_node *n) { @@ -316,6 +320,9 @@ free_temp_storage(slang_var_table *vt, slang_ir_node *n) } +/** + * Allocate storage for a floating point constant. + */ static slang_ir_storage * alloc_constant(const GLfloat v[], GLuint size, struct gl_program *prog) { -- cgit v1.2.3