diff options
author | Brian <[email protected]> | 2007-01-11 11:22:26 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-01-11 11:22:26 -0700 |
commit | 95a441112efbe14407f53d035e368b9632d06f06 (patch) | |
tree | 8ce0e57e44974a63d384325f77336daac19e2b56 /src/mesa/shader/slang/slang_compile.c | |
parent | 063f3f7fc49e1fd5cf99cffd241e16af5e2d1823 (diff) |
Fix a problem with inlined "return" statements. Make some attempt to free temporaries.
Diffstat (limited to 'src/mesa/shader/slang/slang_compile.c')
-rw-r--r-- | src/mesa/shader/slang/slang_compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c index bb1da271524..9a77c5a3d67 100644 --- a/src/mesa/shader/slang/slang_compile.c +++ b/src/mesa/shader/slang/slang_compile.c @@ -1622,8 +1622,10 @@ initialize_global(slang_assemble_ctx * A, slang_variable * var) return GL_FALSE; /* execute the expression */ +#if 0 if (!_slang_execute2(A->file, &mach)) return GL_FALSE; +#endif /* restore the old assembly */ if (!slang_assembly_file_restore_point_load(A->file, &point)) |