summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_compile_variable.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-07-29 17:05:54 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-07-29 17:05:54 -0600
commit153407f72d3492f9d35e2424bb877def8b1a1dcd (patch)
treef9afee20c821990f07b4ecec487c0a5c013d4c26 /src/mesa/shader/slang/slang_compile_variable.h
parent527e1357b59a476348b5fd2600fb99e85cc4e897 (diff)
mesa: fix some function inlining bugs
Need to add local vars of original function to the new scope's variable list (though the DECLs were already present). In slang_operation_copy() call slang_replace_scope() for SLANG_OPER_BLOCK_NEW_SCOPE opers.
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_variable.h')
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.h b/src/mesa/shader/slang/slang_compile_variable.h
index d3691f0f51..9b0f85859a 100644
--- a/src/mesa/shader/slang/slang_compile_variable.h
+++ b/src/mesa/shader/slang/slang_compile_variable.h
@@ -80,6 +80,7 @@ typedef struct slang_variable_
GLuint address; /**< Storage location */
GLuint size; /**< Variable's size in bytes */
GLboolean isTemp; /**< a named temporary (__resultTmp) */
+ GLboolean declared; /**< for debug */
void *aux; /**< Used during code gen */
} slang_variable;