summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_codegen.c
diff options
context:
space:
mode:
authorHaihao Xiang <[email protected]>2008-08-06 09:01:34 -0600
committerBrian Paul <[email protected]>2008-08-06 09:01:34 -0600
commit5f460939386c5bcb04b9a778c8ddc41b366c30ee (patch)
treed2c482a9784d9e332000ab027c8a7f9aebbea8fc /src/mesa/shader/slang/slang_codegen.c
parentfb71a484133c53d37e9510b96d14ab04724ead79 (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.c2
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 ad9cf06e275..bde09fdf4ad 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -2433,8 +2433,6 @@ _slang_gen_var_decl(slang_assemble_ctx *A, slang_variable *var)
*/
n->Store->Swizzle = SWIZZLE_NOOP;
}
-
- A->program->NumTemporaries++; /* an approximation */
}
return n;
}