projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8de3dc1
)
comments
author
Brian
<brian@yutani.localnet.net>
Mon, 15 Jan 2007 18:08:10 +0000
(11:08 -0700)
committer
Brian
<brian@yutani.localnet.net>
Mon, 15 Jan 2007 18:08:10 +0000
(11:08 -0700)
src/mesa/shader/slang/slang_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_emit.c
b/src/mesa/shader/slang/slang_emit.c
index 81f856550237d258c6db5a519b895f662cfee4a1..5d7e5b318f5fef29010a4f87262fc35ae11bb198 100644
(file)
--- 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)
{