mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 14:28:05 +02:00
gallium: replace assertion with conditional/recovery code
The assertion failed when we ran out of exec memory. Found with conform texcombine test.
This commit is contained in:
parent
d055b2c001
commit
f7ee3c9792
1 changed files with 5 additions and 1 deletions
|
|
@ -370,7 +370,11 @@ void x86_jcc( struct x86_function *p,
|
|||
DUMP_I(cc);
|
||||
|
||||
if (offset < 0) {
|
||||
assert(p->csr - p->store > -offset);
|
||||
/*assert(p->csr - p->store > -offset);*/
|
||||
if (p->csr - p->store <= -offset) {
|
||||
/* probably out of memory (using the error_overflow buffer) */
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (offset <= 127 && offset >= -128) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue