summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2007-10-26 15:39:50 +0800
committerZou Nan hai <nanhai.zou@intel.com>2007-10-26 15:39:50 +0800
commit6ef27b88e6f767cd476676b33cb7c4ea6922234e (patch)
tree463d6a70b986cb62b3516ef6fd8e691f680f30ea /src/mesa/shader/slang
parentff042bfdeeeb0a3d658d5ab1dbdcac7b67aac0f8 (diff)
parentde803f538c16096c9e241cfdddc092ac2aa2504e (diff)
Merge branch '965-glsl'
Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r--src/mesa/shader/slang/slang_codegen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index a44e42b6d6..5191e0c222 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -1847,6 +1847,7 @@ _slang_gen_var_decl(slang_assemble_ctx *A, slang_variable *var)
n->Store->File = PROGRAM_TEMPORARY;
n->Store->Size = _slang_sizeof_type_specifier(&n->Var->type.specifier);
+ A->program->NumTemporaries++;
assert(n->Store->Size > 0);
}
return n;