mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
r600: hopefully fix segfault.
This commit is contained in:
parent
f9b0f1dfa1
commit
c3c8c40cab
1 changed files with 2 additions and 1 deletions
|
|
@ -6421,6 +6421,8 @@ GLboolean RelocProgram(r700_AssemblerBase * pAsm)
|
|||
R700ShaderInstruction * pInst;
|
||||
R700ControlFlowGenericClause * pCFInst;
|
||||
|
||||
plstCFmain = pAsm->CALLSTACK[0].plstCFInstructions_local;
|
||||
|
||||
/* remove flags init if they are not used */
|
||||
if((pAsm->unCFflags & HAS_LOOPRET) == 0)
|
||||
{
|
||||
|
|
@ -6462,7 +6464,6 @@ GLboolean RelocProgram(r700_AssemblerBase * pAsm)
|
|||
pAsm->pR700Shader->uStackSize = ((pAsm->CALLSTACK[0].max + 3)>>2) + 2;
|
||||
}
|
||||
|
||||
plstCFmain = pAsm->CALLSTACK[0].plstCFInstructions_local;
|
||||
unCFoffset = plstCFmain->uNumOfNode;
|
||||
|
||||
/* Reloc subs */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue