r600 : fix stack depth setting bug.

This commit is contained in:
Richard Li 2009-11-24 12:16:39 -05:00
parent 8bf4e5d617
commit d4c2f53ca5
1 changed files with 5 additions and 5 deletions

View File

@ -6503,16 +6503,16 @@ GLboolean RelocProgram(r700_AssemblerBase * pAsm)
};
}
if(0 == pAsm->unSubArrayPointer)
{
return GL_TRUE;
}
if(pAsm->CALLSTACK[0].max > 0)
{
pAsm->pR700Shader->uStackSize = ((pAsm->CALLSTACK[0].max + 3)>>2) + 2;
}
if(0 == pAsm->unSubArrayPointer)
{
return GL_TRUE;
}
unCFoffset = plstCFmain->uNumOfNode;
/* Reloc subs */