mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 10:50:16 +01:00
r600 : fix stack depth setting bug.
This commit is contained in:
parent
8bf4e5d617
commit
d4c2f53ca5
1 changed files with 5 additions and 5 deletions
|
|
@ -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…
Add table
Reference in a new issue