diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2008-08-06 09:05:09 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-06 09:05:09 -0600 |
commit | 8d1627c25a24f7bc14946bfe268d2d1c5dcde470 (patch) | |
tree | 4bdcb358334f318244f9129da482fa4c54bcfc23 /src/mesa/shader/slang/slang_codegen.c | |
parent | d23b54a423b537fc08543299f9df086e831686fc (diff) |
mesa: glsl: count number of temp regs used
Diffstat (limited to 'src/mesa/shader/slang/slang_codegen.c')
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index f891068322..142e240802 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -2473,8 +2473,6 @@ _slang_gen_var_decl(slang_assemble_ctx *A, slang_variable *var) */ n->Store->Swizzle = SWIZZLE_NOOP; } - - A->program->NumTemporaries++; /* an approximation */ } return n; } |