r600 : fix stack depth setting bug.
This commit is contained in:
parent
8bf4e5d617
commit
d4c2f53ca5
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue