diff options
author | Zou Nan hai <[email protected]> | 2007-04-12 09:43:00 +0800 |
---|---|---|
committer | Zou Nan hai <[email protected]> | 2007-04-12 09:43:00 +0800 |
commit | 35707dbe57873adb5a8088cd47c13bd216e143e4 (patch) | |
tree | bfa296dcb0818f474d69ebc66afc2546e175a0cd /src/mesa/shader | |
parent | bce7043ebcbb75cec727553341af4c66b03732ef (diff) |
Initial 965 GLSL support
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.c | 1 |
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 fe6b615c5d6..30f044e77c8 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -1746,6 +1746,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; |